CVE-2026-85061
Published:September 03, 2026
Updated:September 10, 2026
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.
Affected Packages
maplibre-gl (CDN_JS):
Affected version(s) >=4.0.0 <6.4.1Fix Suggestion:
Update to version 6.4.1https://github.com/maplibre/maplibre-gl-js.git (GITHUB):
Affected version(s) >=v5.0.0 <v6.4.1Fix Suggestion:
Update to version v6.4.1maplibre-gl (NPM):
Affected version(s) >=0.0.0 <6.4.1Fix Suggestion:
Update to version 6.4.1maplibre-gl (NPM):
Affected version(s) >=0.0.0 <6.4.1Fix Suggestion:
Update to version 6.4.1Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
NONE
CVSS v3
Base Score:
10
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.31