{
 "id": "WPSEC-2026-1223",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1223/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1223/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1223/index.md",
 "title": "Extensions for Leaflet Map <= 5.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'choropleth' Shortcode",
 "description": "The Extensions for Leaflet Map plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'choropleth' shortcode in all versions up to, and including, 5.4. This is due to insufficient sanitization and escaping of the shortcode's content and attributes, which were bound as popup HTML and inserted into the legend's HTML in the browser. 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.",
 "plugin": {
  "slug": "extensions-leaflet-map",
  "name": "Extensions for Leaflet Map",
  "full_name": "Extensions for Leaflet Map",
  "wordpress_org": "https://wordpress.org/plugins/extensions-leaflet-map/",
  "advisories_url": "https://wpsec.com/vuln/plugin/extensions-leaflet-map/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/extensions-leaflet-map"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "6.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 6.0"
  ]
 },
 "introduced_in": null,
 "fixed_in": "6.0",
 "remediation": "Update to 6.0 or later.",
 "fix_released": "2026-10-17T12:13:46+00:00",
 "published": "2026-10-18T12:42:58+00:00",
 "updated": "2026-10-18T11:09:30.567421+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1223/",
  "https://plugins.svn.wordpress.org/extensions-leaflet-map/tags/6.0/",
  "https://wordpress.org/plugins/extensions-leaflet-map/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/extensions-leaflet-map",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "None seen",
  "as_of": "2026-10-18"
 }
}