XSS in Leafletjs Leaflet
CVE-2025-69993
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., <img src=x onerror="alert('XSS')">). When a victim views an affected map popup, the malicious script executes in the context of the victim's browser session.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.002 (9.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Leafletjs Leaflet
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Exploit, Third Party Advisory)
- cve@mitre.org
Frequently asked questions
- What is CVE-2025-69993?
- CVE-2025-69993 is a medium-severity vulnerability in Leafletjs Leaflet, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2026-04-14.
- How severe is CVE-2025-69993?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2025-69993 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.