CVE-2025-69993

Leaflet: Leaflet: Cross-Site Scripting (XSS) via unsanitized input in bindPopup() method

Published Apr 14, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Leafletjs
Leafletjs leaflet
CPEs cpe:2.3:a:leafletjs:leaflet:*:*:*:*:*:node.js:*:*
Vendors & Products Leafletjs
Leafletjs leaflet
Type Values Removed Values Added
First Time appeared Leaflet
Leaflet leaflet
Vendors & Products Leaflet
Leaflet leaflet
Type Values Removed Values Added
Title Cross‑Site Scripting via Unfiltered Popup Content in Leaflet ≤1.9.4 Leaflet: Leaflet: Cross-Site Scripting (XSS) via unsanitized input in bindPopup() method
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Cross‑Site Scripting via Unfiltered Popup Content in Leaflet ≤1.9.4
Weaknesses CWE-79
Type Values Removed Values Added
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.
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AC:L/AV:N/A:N/C:L/I:L/PR:N/S:C/UI:R'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 21, 2026, 5:36 PM
Reserved
Jan 9, 2026, 12:00 AM
Status
Modified
Published
Apr 14, 2026, 3:16 PM
Modified
Nov 11, 2026, 11:10 PM
Severity
Moderate
Public date
Apr 14, 2026, 12:00 AM