CVE-2026-85061: MapLibre GL JS: XSS Sanitizer Bypass in DOM.sanitize() via Live NamedNodeMap Removal Skip
Vulnerability summary
CVE-2026-85061 is a critical (CVSS 10.0) vulnerability in maplibre maplibre-gl-js. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 36.3% of scored vulnerabilities.
Severe, CVSS 10 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 03-09-2026PublishedVulnerability first disclosed.
- 04-09-2026Last modifiedVulnerability information updated.
Description
MapLibre GL JS is an interactive vector tile map library for web browsers. Prior to 6.4.1, DOM.sanitize() in src/util/dom.ts iterates elem.attributes as a live NamedNodeMap while removeAttributes() removes attributes from the same collection, shifting indexes and skipping an adjacent dangerous attribute. An attacker who controls untrusted third-party style attribution strings or user-supplied custom attributions can supply consecutive dangerous attributes, causing an attribute such as onload or ontoggle to survive sanitization and execute when the attribution control inserts the content into innerHTML. A victim must render the affected map content for the script to execute. This issue is fixed in version 6.4.1.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
- OSV · NpmEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
- NVDNIST10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
36%
Versus all other CVEs
30-day change
Decrease -0.12 pp
From 0.52% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard8 products
- opensearch-dashboards-2-dashboards-mapsAll versions (No fix recorded) | < 2.19.7-r0
- opensearch-dashboards-2-fips-dashboards-mapsAll versions (No fix recorded) | < 2.19.7-r0
- opensearch-dashboards-3-dashboards-mapsAll versions (No fix recorded) | < 3.9.0-r0
- opensearch-dashboards-3-fips-dashboards-mapsAll versions (No fix recorded) | < 3.9.0-r0
- tileserver-glAll versions (No fix recorded) | < 5.7.0-r0
Wolfi2 products
- opensearch-dashboards-3-dashboards-mapsAll versions (No fix recorded) | < 3.9.0-r0
- tileserver-glAll versions (No fix recorded) | < 5.7.0-r0
Maplibre1 product
- maplibre-gl-js< 6.4.1
Npm1 product
- maplibre-gl< 6.4.1 | ≥ 6.0.0, < 6.4.1 | < 5.24.1
4 vendors · 12 products
References
9 links- github.com/maplibre/maplibre-gl-js/security/advisories/GHSA-jrc7-96c5-q579X Refsource CONFIRMAdvisoryWEB
- github.com/maplibre/maplibre-gl-js/commit/1da69f3cd913a39fa948708e01478663bf48bc27X Refsource MISCFIXWEB