{"id":"CVE-2026-135618","aliases":[],"kind":"cve","tier":"hot","status":"published","title":"Extensions for Leaflet Map <= 6.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'extraclasses' Shortcode Attribute","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.","ai_summary":{"text":"An authenticated contributor can inject arbitrary scripts via the extraclasses shortcode attribute in Extensions for Leaflet Map, a WordPress plugin, executing when users view affected pages.","model":"claude-haiku-5-5","label":"AI summary"},"severity":"medium","cvss":{"score":6.4,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","source":"CNA"},"scores":[{"score":6.4,"source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"}],"cwe":["CWE-79"],"remote":true,"remote_unauth":false,"epss":null,"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"source":"cvelist","vendor":"hupe13","product":"Extensions for Leaflet Map","versions":"<= 6.2.1"}],"ai_versions":{"affected":[{"text":"all versions up to, and including, 6.2.1","quote":"all versions up to, and including, 6.2.1","product":"Extensions for Leaflet Map"}],"fixed":[],"model":"claude-haiku-5-5","label":"AI-extracted versions"},"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[{"slug":"wordpress","name":"WordPress","method":"ai"},{"slug":"wordpress-plugins","name":"WordPress plugins and themes","method":"source"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/cbe5d3b5-4384-4cca-95ee-9c9145546c35?source=cve","kind":"wordfence"},{"url":"https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/extramarker.php#L204","kind":"other"},{"url":"https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/extramarker.php#L251","kind":"other"},{"url":"https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/functions.php#L43","kind":"other"},{"url":"https://plugins.trac.wordpress.org/browser/extensions-leaflet-map/tags/6.2.1/php/extramarker.php#L177","kind":"other"},{"url":"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","kind":"other"},{"url":"https://downloads.wordpress.org/plugin/extensions-leaflet-map.6.3.zip","kind":"other"}],"workarounds":null,"vendors":["hupe13"],"products":["extensions for leaflet map"],"cpes":[],"published_at":"2026-11-27T02:33:38.345Z","modified_at":"2026-11-27T17:17:41.810Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135618"}],"links":{"html":"https://flawdb.com/CVE-2026-135618","markdown":"https://flawdb.com/CVE-2026-135618.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-135618"}}