CVE-2026-85061

Source
https://cve.org/CVERecord?id=CVE-2026-85061
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85061.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-85061
Aliases
  • GHSA-jrc7-96c5-q579
Published
2026-09-03T20:18:50Z
Modified
2026-09-06T03:30:54Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N CVSS Calculator
Summary
MapLibre GL JS: XSS Sanitizer Bypass in DOM.sanitize() via Live NamedNodeMap Removal Skip
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85061.json"
}
References

Affected packages

Git / github.com/maplibre/maplibre-gl-js

Affected ranges

Type
GIT
Repo
https://github.com/maplibre/maplibre-gl-js
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "6.4.1"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v1.*
v1.14.0
v1.14.0-rc.1
v1.14.1-rc.2
v1.15.0
v1.15.1
v1.15.2
v2.*
v2.0.0
v2.0.0-pre.1
v2.0.0-pre.2
v2.0.0-pre.3
v2.0.0-pre.4
v2.0.0-pre.5
v2.0.0-pre.6
v2.0.1
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.0
v5.3.0
v5.3.1
v5.4.0
v5.5.0
v5.6.0
v5.6.1
v5.6.2
v5.7.0
v5.7.1
v5.7.2
v5.7.3
v5.8.0
v5.9.0
v6.*
v6.0.0
v6.0.0-0
v6.0.0-1
v6.0.0-10
v6.0.0-11
v6.0.0-12
v6.0.0-13
v6.0.0-14
v6.0.0-15
v6.0.0-16
v6.0.0-17
v6.0.0-18
v6.0.0-19
v6.0.0-2
v6.0.0-20
v6.0.0-21
v6.0.0-22
v6.0.0-3
v6.0.0-4
v6.0.0-5
v6.0.0-6
v6.0.0-7
v6.0.0-8
v6.0.0-9
v6.1.0
v6.2.0
v6.3.0
v6.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85061.json"