Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135618: medium-severity vulnerability (CVSS 6.4) in hupe13 Extensions for Leaflet Map.
What happened
Original description from the source: The Extensions for Leaflet Map plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'extraclasses (also icon, iconcolor, number)' parameter in all versions up to, and including, 6.2.1 due to insufficient input sanitization and output escaping. 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. The existing sanitization is ineffective for this context: wp_kses_post preserves bare double quotes (no HTML tags are required in the payload), and wp_json_encode correctly escapes the value for the JavaScript string-literal layer but the reconstituted double quote remains live when Leaflet.ExtraMarkers builds its inner HTML, allowing a single-quoted shortcode attribute value to close the HTML attribute and inject attacker-controlled event handlers.
Why it matters
Medium severity, CVSS 6.4.
Affected products and versions
hupe13 Extensions for Leaflet Map <= 6.2.1
| Product | Versions | Fixed in |
|---|---|---|
| hupe13 Extensions for Leaflet Map | <= 6.2.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/cbe5d3b5-4384-4cca-95ee-9c9145546c35?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/extramarker.php#L204 — CVE Program
- https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/extramarker.php#L251 — CVE Program
- https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/functions.php#L43 — CVE Program
- https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/extramarker.php#L177 — CVE Program
- https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/leaflet-plugins/Leaflet.ExtraMarkers/dist/js/leaflet.extra-markers.min.js#L10 — CVE Program
- https://downloads.wordpress.org/plugin/extensions-leaflet-map.6.3.zip — CVE Program
Weaknesses (CWE): CWE-79
Relevant change history
Published
Preliminary advisory published.