Leaflet: Leaflet: Cross-Site Scripting (XSS) via unsanitized input in bindPopup() method
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | n/a | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Leaflet | Leaflet |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.285% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Leafletjs
Leafletjs leaflet |
|
| CPEs | cpe:2.3:a:leafletjs:leaflet:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Leafletjs
Leafletjs leaflet |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Leaflet
Leaflet leaflet |
|
| Vendors & Products |
Leaflet
Leaflet leaflet |
| 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
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Cross‑Site Scripting via Unfiltered Popup Content in Leaflet ≤1.9.4 | |
| Weaknesses | CWE-79 |
| 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
|