CVE-2025-69993
Last modified
CVE-2025-69993 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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')">). EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Leafletjs | Leaflet | <= 1.9.4 |
References
- https://github.com/PierfrancescoConti/leaflet-cve-2025-69993/blob/main/ADVISORY.mdExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-69993?
How severe is CVE-2025-69993?
How do I fix CVE-2025-69993?
Are you affected by CVE-2025-69993?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
