Skip to main content

Maplibre Gl Js

1 CVEs product

Monthly

CVE-2026-85061 Sep 03, 20:18 CRITICAL PATCH GHSA Act Now

Cross-site scripting in MapLibre GL JS before 6.4.1 lets an attacker who controls map style attribution strings or user-supplied custom attributions bypass the library's HTML sanitizer and run arbitrary JavaScript in the victim's browser. The flaw is a sanitizer bug in DOM.sanitize(): iterating the live attributes collection while deleting attributes shifts indexes, so a dangerous event handler placed immediately after another removed attribute (e.g. onload/ontoggle) survives cleaning and fires when the attribution control writes the content to innerHTML. No public exploit or KEV listing exists, but the fix commit ships working payloads (e.g. `<details open onload ontoggle=alert(1)>`) as regression tests, making a POC trivially reconstructable.

XSS Maplibre Gl Js
NVD GitHub
CVSS 3.1
10.0
EPSS
0.3%
EPSS 0% CVSS 10.0
CRITICAL PATCH Act Now

Cross-site scripting in MapLibre GL JS before 6.4.1 lets an attacker who controls map style attribution strings or user-supplied custom attributions bypass the library's HTML sanitizer and run arbitrary JavaScript in the victim's browser. The flaw is a sanitizer bug in DOM.sanitize(): iterating the live attributes collection while deleting attributes shifts indexes, so a dangerous event handler placed immediately after another removed attribute (e.g. onload/ontoggle) survives cleaning and fires when the attribution control writes the content to innerHTML. No public exploit or KEV listing exists, but the fix commit ships working payloads (e.g. `<details open onload ontoggle=alert(1)>`) as regression tests, making a POC trivially reconstructable.

XSS Maplibre Gl Js
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy