CVE-2025-69993

MEDIUM

Leaflet <=1.9.4 - XSS

Title source: llm

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.

Exploits (1)

nomisec WORKING POC
by PierfrancescoConti · poc
https://github.com/PierfrancescoConti/leaflet-cve-2025-69993

Scores

CVSS v3 6.1
EPSS 0.0003
EPSS Percentile 8.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-79
Status published
Products (1)
leafletjs/leaflet < 1.9.4
Published Apr 14, 2026
Tracked Since Apr 14, 2026