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.
History

Wed, 15 Apr 2026 00:15:00 +0000

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


Tue, 14 Apr 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 14 Apr 2026 16:45:00 +0000

Type Values Removed Values Added
Title Cross‑Site Scripting via Unfiltered Popup Content in Leaflet ≤1.9.4
Weaknesses CWE-79

Tue, 14 Apr 2026 15:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-04-14T17:45:26.763Z

Reserved: 2026-01-09T00:00:00.000Z

Link: CVE-2025-69993

cve-icon Vulnrichment

Updated: 2026-04-14T17:45:21.468Z

cve-icon NVD

Status : Received

Published: 2026-04-14T15:16:25.477

Modified: 2026-04-14T18:16:41.530

Link: CVE-2025-69993

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-14T00:00:00Z

Links: CVE-2025-69993 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-14T16:37:17Z