CVE-2026-135618
Description
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.
Affected WordPress components
-
Extensions for Leaflet Map Plugin · extensions-leaflet-mapUp to and including 6.2.1View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- hupe13 Extensions for Leaflet Map — Up to and including 6.2.1
References
- downloads.wordpress.org https://downloads.wordpress.org/plugin/extensions-leaflet-map.6.3.zip
- plugins.trac.wordpress.org 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
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/extramarker.php#L177
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/extramarker.php#L204
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/extramarker.php#L251
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/functions.php#L43
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/cbe5d3b5-4384-4cca-95ee-9c9145546c35?source=cve
- nvd.nist.gov Official NVD record