CVE-2026-85061
Last modified
CVE-2026-85061 is a critical-severity vulnerability rated 10/10 on the CVSS scale. 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.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| maplibre | maplibre-gl-js | < 6.4.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-85061?
How severe is CVE-2026-85061?
How do I fix CVE-2026-85061?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-85049Use after free in Skia in Google Chrome prior to 152.0.7977.…8.8
- CVE-2026-8505IBM Langflow OSS 1.0.0 through 1.10.0 has a vulnerability in…9.8
- CVE-2026-85050Out of bounds write in WebGL in Google Chrome on on Android …9.6
- CVE-2026-85051Type confusion in Compositing in Google Chrome prior to 152.…8.8
- CVE-2026-85052Out of bounds read in CrashReporting in Google Chrome prior …3.1
- CVE-2026-85053Improper resource exposure in CacheStorage in Google Chrome …8.8
- CVE-2026-85062Colord is a tiny yet powerful tool for high-performance colo…6.9
- CVE-2026-85063node-csv is a full-featured CSV parser with a simple API tha…6.9
- CVE-2026-8507Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl have o…9.8
- CVE-2026-8508An improper authentication vulnerability in the "social_logi…6.5
- CVE-2026-85084Out-of-bounds Write and Improper Validation of Array Index v…6.3
- CVE-2026-85089FreeRDP versions 3.0.0 through 3.30.0 (before 3.31.0) transm…6.5
Are you affected by CVE-2026-85061?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
