PT-2026-85245
CVE-2026-85061
·
Published
2026-09-03
·
Updated
2026-11-11
Description by
CVSS 3.1
10
CriticalMetricsAV: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.
Found an issue in the description? Have something to add? Feel free to write us 👾