Skip to content
NewA calmer, faster ZeroHour

Critical MapLibre GL JS Vulnerability Enables Zero-Click XSS Attacks

GBHackersby Divya ()2 min read3
AI summary · glm-5.3-flashSummaries by Vani AI

MapLibre GL JS 6.4.1 patches CVE-2026-85061, a critical zero-click XSS in DOM.sanitize() affecting versions 6.4.0 and earlier.

A critical cross-site scripting vulnerability, CVE-2026-85061 (GHSA-jrc7-96c5-q579), affects maplibre-gl versions 6.4.0 and earlier and is fixed in 6.4.1. The flaw stems from DOM.sanitize() iterating a live NamedNodeMap while deleting attributes, causing the sanitizer to skip adjacent dangerous event-handler attributes that later execute via innerHTML. GitHub rates the issue Critical with CVSS v3.1 vector AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N, exploitable without user interaction when untrusted attribution strings are rendered. Organizations should upgrade to 6.4.1 or later, rebuild affected bundles, and sanitize attribution fields as an interim measure.

Key facts
  • Sanitizer skips adjacent attributes when removing entries from a live NamedNodeMap
  • Zero-click XSS triggered through malicious attribution strings inserted via innerHTML
  • Fix snapshots attributes using Array.from(elem.attributes) before iteration
  • Interim mitigations: pre-sanitize attribution data, audit configs, enforce CSP
Analyze CVE-2026-85061 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-85061
Sanitization Bypass (DOM XSS) in MapLibre GL JS Attribution Control
10.0<1%

From the original article

2 min read at gbhackers.com

MapLibre GL JS users are advised to upgrade their software following the disclosure of an XSS vulnerability, identified as CVE-2026-85061 and documented in GitHub advisory GHSA-jrc7-96c5-q579. This vulnerability affects maplibre-gl versions 6. 4.

GBHackers

By Divya · gbhackers.com

Read the full article at GBHackers

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.