Security advisory
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., ). When a victim views an affected map popup, the malicious script executes in the context of the victim's browser session.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-69993
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 15:07 UTC · Revision 1
Source evidence
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., ). When a victim views an affected map popup, the malicious script executes in the context of the victim's browser session.
osv:CVE-2025-69993
Complete source record
{
"id": "5c411925f395c2011d6074a568042038af1e6c26adcdc13b8635cfb623c5c93d",
"url": "https://osv.dev/vulnerability/CVE-2025-69993",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-69993",
"summary": "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., ). When a victim views an affected map popup, the malicious script executes in the context of the victim's browser session.",
"evidence": "osv:CVE-2025-69993",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-69993",
"aliases": [
"CVE-2025-69993"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AC:L/AV:N/A:N/C:L/I:L/PR:N/S:C/UI:R"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/leaflet/leaflet",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "d15112c9e8ac339f0f74f563959d0423d291308d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:leafletjs:leaflet:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.9.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.9.4",
"v1.9.3",
"v1.9.2",
"v1.9.1",
"v1.9.0",
"v1.8.0",
"v1.8.0-beta.3",
"v1.8.0-beta.2",
"v1.8.0-beta.1",
"v1.8.0-beta.0",
"v1.8.0-alpha.0",
"v1.0.0-beta.1",
"v0.7",
"v0.6.2",
"v0.6.1",
"v0.6",
"v0.5",
"v0.4.4",
"v0.4.3",
"v0.4.1",
"v0.4",
"v0.3",
"v0.2.1",
"v0.2",
"v0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-69993.json"
}
}
],
"modified": "2026-10-28T02:30:36.650291388Z",
"provider": "osv",
"references": [
"https://github.com/PierfrancescoConti/leaflet-cve-2025-69993/blob/main/ADVISORY.md",
"https://leafletjs.com/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/69xxx/CVE-2025-69993.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-69993"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/69xxx/CVE-2025-69993.json"
}
},
"related_cves": [
{
"value": "CVE-2025-69993",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 503986,
"published_at": "2026-04-14T00:00:00+00:00"
}