Skip to main content
VulnerabilityPublished

CVE-2026-85061: maplibre-gl-js · Cross-site Scripting

Affects maplibre-gl-jsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 10.0 Critical : upgrade to 6.4.1 as a priority.

Data as of 2 Dec 2026, 18:37 UTC

CVSS 3.1 base score
10.0Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.4.1, 5.24.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Upgrade maplibre-gl-js and maplibre-gl to 6.4.1; maplibre-gl to 5.24.1.

Affected software

ProductAffectedFixed in
maplibremaplibre-gl-jsAffected
  • <6.4.1
Fixed in
  • 6.4.1
npmmaplibre-glpkg:npm/maplibre-glOther threatsAffected
  • >=6.0.0 <6.4.1
Fixed in
  • 6.4.1
npmmaplibre-glpkg:npm/maplibre-glOther threatsAffected
  • <5.24.1
Fixed in
  • 5.24.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in maplibre-gl-js version 6.4.1. Users and administrators should upgrade to version 6.4.1 or later to remediate this vulnerability. No other mitigation or temporary workaround is documented. Patch status is confirmed by the vendor advisory indicating the issue is fixed in 6.4.1.

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.

References

Community reviews

Loading reviews…