CVE-2026-85061: Vulnerability in maplibre-gl

Critical. An attacker can provide an HTML payload with consecutive dangerous attributes (such as <details open onload="1" ontoggle="...">). The first attribute is stripped while the second survives and executes upon insertion into innerHTML via the attribution control without requiring user interaction (zero-click XSS).

npm, CWE-79

Exploitation
None confirmed
Severity
10 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-jrc7-96c5-q579
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Weakness
CWE-79
Published
3 Sept 2026
Last change
1 Dec 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • maplibre-gl npm, Affected through 6.4.0. Fixed in 6.4.1

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes