Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-24730 Overview
CVE-2025-24730 is a DOM-Based Cross-Site Scripting (XSS) vulnerability in the RexTheme WP VR plugin for WordPress. The flaw stems from improper neutralization of user-supplied input during web page generation [CWE-79]. All versions of WP VR up to and including 8.5.14 are affected. Successful exploitation allows attackers to execute arbitrary JavaScript in a victim's browser within the context of the vulnerable site. Exploitation requires low-privilege authentication and user interaction, with scope change extending the impact beyond the vulnerable component.
Critical Impact
Attackers can inject client-side scripts that execute in authenticated users' browsers, enabling session theft, administrative action hijacking, and content manipulation across the WordPress site.
Affected Products
- RexTheme WP VR plugin for WordPress
- All versions from initial release through 8.5.14
- WordPress sites running the WP VR (wpvr) plugin
Discovery Timeline
- 2025-01-24 - CVE CVE-2025-24730 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-24730
Vulnerability Analysis
The vulnerability is classified as a DOM-Based Cross-Site Scripting flaw [CWE-79] in the WP VR plugin, which provides virtual tour functionality for WordPress. DOM-Based XSS occurs when client-side JavaScript writes attacker-controlled data into the Document Object Model without proper sanitization or encoding. The malicious payload never needs to touch the server, which makes detection through server-side logging more difficult. Exploitation produces low-level impacts to confidentiality, integrity, and availability, but the changed scope indicates the attacker can affect resources beyond the vulnerable component's security authority.
Root Cause
The root cause is improper neutralization of input before it is reflected into the DOM by the plugin's client-side scripts. User-controllable values are passed to sinks such as innerHTML, document.write, or jQuery HTML parsers without escaping or validation. When an authenticated user loads a page containing attacker-influenced parameters, the browser interprets the injected markup as executable script.
Attack Vector
An authenticated attacker with low privileges crafts a URL or input containing a JavaScript payload. The victim must interact with the malicious link or page for the payload to execute. Because the scope is changed, the executed script can access cookies, session tokens, and DOM content of the host WordPress application. Attackers commonly use this foothold to steal administrator sessions, perform cross-site request forgery against privileged endpoints, or deface rendered content. See the Patchstack WP VR Plugin XSS Vulnerability advisory for additional context.
Detection Methods for CVE-2025-24730
Indicators of Compromise
- Requests to WP VR plugin endpoints containing URL parameters with <script>, javascript:, or event handler attributes such as onerror= and onload=.
- Unexpected outbound requests from administrator browsers to attacker-controlled domains shortly after visiting WP VR tour pages.
- WordPress administrator sessions used from unfamiliar IP addresses following access to crafted plugin URLs.
Detection Strategies
- Inspect web server access logs for query strings targeting wpvr routes with HTML or JavaScript metacharacters.
- Deploy a web application firewall rule set that flags DOM XSS payloads delivered through plugin parameters.
- Enable browser-side Content Security Policy (CSP) reporting to capture inline script violations originating from plugin pages.
Monitoring Recommendations
- Monitor WordPress audit logs for privilege changes, new administrator accounts, or plugin modifications following suspicious page views.
- Alert on anomalous authenticated access patterns to WP VR editing interfaces.
- Track installed plugin versions across the WordPress estate to identify hosts still running WP VR <= 8.5.14.
How to Mitigate CVE-2025-24730
Immediate Actions Required
- Update the WP VR plugin to a version later than 8.5.14 as soon as a patched release is available from RexTheme.
- Audit WordPress user accounts and revoke unused low-privilege contributor or author roles that could be leveraged for exploitation.
- Rotate administrator session cookies and credentials if suspicious activity is identified.
Patch Information
RexTheme addresses the issue in versions released after 8.5.14. Consult the Patchstack WP VR Plugin XSS Vulnerability advisory and the official RexTheme changelog for the specific fixed version. Apply updates in a staging environment before promoting to production.
Workarounds
- Temporarily deactivate the WP VR plugin on sites that cannot immediately upgrade.
- Deploy a Content Security Policy that restricts inline script execution and limits allowed script sources.
- Place a web application firewall in front of WordPress to block requests containing script tags or JavaScript URI schemes directed at plugin endpoints.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

