PT-2026-85245 · Unknown · Maplibre-Gl-Js
CVE-2026-85061
·
Published
2026-09-03
·
Updated
2026-09-09
CVSS v3.1
10
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
MapLibre GL JS versions prior to 6.4.1
Description
The
DOM.sanitize() function in src/util/dom.ts incorrectly iterates through elem.attributes as a live NamedNodeMap. Because removeAttributes() modifies the same collection during iteration, indexes shift, allowing adjacent dangerous attributes to be skipped. An attacker providing untrusted third-party style attribution strings or custom attributions can include consecutive dangerous attributes, such as onload or ontoggle, which may bypass sanitization and execute when the attribution control inserts content into innerHTML.Recommendations
Update MapLibre GL JS to version 6.4.1.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Maplibre-Gl-Js