Vulnerability

CVE-2025-69993

mediumCVSS 3.1 6.1Published 14 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Leafletjs leaflet

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning