{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:leafletjs:leaflet:*:*:*:*:*:node.js:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.9.4"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "d15112c9e8ac339f0f74f563959d0423d291308d"
            }
          ],
          "repo": "https://github.com/leaflet/leaflet",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/69xxx/CVE-2025-69993.json"
  },
  "details": "Leaflet versions up to and including 1.9.4 are vulnerable to Cross-Site Scripting (XSS) via the bindPopup() method. This method renders user-supplied input as raw HTML without sanitization, allowing attackers to inject arbitrary JavaScript code through event handler attributes (e.g., \u003cimg src=x onerror=\"alert('XSS')\"\u003e). When a victim views an affected map popup, the malicious script executes in the context of the victim's browser session.",
  "id": "CVE-2025-69993",
  "modified": "2026-07-08T05:36:43.430467153Z",
  "published": "2026-04-14T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/PierfrancescoConti/leaflet-cve-2025-69993/blob/main/ADVISORY.md"
    },
    {
      "type": "WEB",
      "url": "https://leafletjs.com/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/69xxx/CVE-2025-69993.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-69993"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AC:L/AV:N/A:N/C:L/I:L/PR:N/S:C/UI:R",
      "type": "CVSS_V3"
    }
  ]
}