CVE-2025-69993 Cross-site scripting in n/a

Medium 6.1 Published Updated

Attackers can inject arbitrary JavaScript into Leaflet map popups, executing code in the victim's browser session.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-69993?

CVE-2025-69993 is a medium-severity cross-site scripting vulnerability in n/a, published on 14 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-79

Which versions are affected by CVE-2025-69993?

It affects 1 product.

Products include Leafletjs Leaflet.

How do I fix CVE-2025-69993?

No fix has been published for CVE-2025-69993 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-69993 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-69993 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2025-69993, GHSA-h5cx-hfj5-x8v3, UBUNTU-CVE-2025-69993.

Is CVE-2025-69993 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free