# CVE-2026-85061: MapLibre GL JS: XSS Sanitizer Bypass in DOM.sanitize() via Live NamedNodeMap Removal Skip

- Priority: **Prioritise**
- Reason: Severe, CVSS 10 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 6.4.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-03 · Modified: 2026-09-04
- Aliases: CGA-28h7-2m6m-83mw, CGA-2x6r-rp6w-m4jv, CGA-62pg-vvx9-7jqw, CGA-7565-qm9w-3chq, CGA-m8wg-pff4-f9vp, CGA-mqpx-5xxw-6cj9, CGA-r787-v96w-fw27, CGA-v4fw-6mvr-9xpg, GHSA-jrc7-96c5-q579, CGA-34jf-68j7-j97p, CGA-3wpc-j4wj-2f2f, CGA-668g-8jq5-5hcc, CGA-795h-vg2m-9cqx, CGA-7xq5-hqpg-vc5p, CGA-8ggv-7pjm-394g, CGA-8x55-gxr8-gph4, CGA-hfjc-mggw-gr74, CGA-hvcf-hwp5-9pqq, CGA-j7f5-65cq-p4vx, CGA-jqvm-8qh9-45xf, CGA-m65m-2xmm-3q5x, CGA-mwr3-6xgp-993w, CGA-pcw5-g42g-23h4, CGA-r282-47wc-74cx, CGA-r9hh-grvx-f5mf, CGA-w886-g8xw-f7j6, CGA-xmpp-7gp6-hrgp, CGA-xpq4-wfv8-9547, CGA-xqpv-4xx3-vx6v
- Record: https://cvemate.com/vulnerability/CVE-2026-85061 · JSON: https://cvemate.com/vulnerability/CVE-2026-85061/json

## Description

```text
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.
```

## Signals

- CVSS: 10 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
- EPSS: 0.399%, percentile 36.311%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard opensearch-dashboards-2-dashboards-maps (Chainguard): All versions (No fix recorded) \| \< 2.19.7-r0
- chainguard opensearch-dashboards-2-fips-dashboards-maps (Chainguard): All versions (No fix recorded) \| \< 2.19.7-r0
- chainguard opensearch-dashboards-3-dashboards-maps (Chainguard): All versions (No fix recorded) \| \< 3.9.0-r0
- chainguard opensearch-dashboards-3-fips-dashboards-maps (Chainguard): All versions (No fix recorded) \| \< 3.9.0-r0
- chainguard tileserver-gl (Chainguard): All versions (No fix recorded) \| \< 5.7.0-r0
- chainguard tileserver-gl-fips (Chainguard): All versions (No fix recorded) \| \< 5.7.0-r0
- chainguard wazuh-dashboard-dashboards-maps (Chainguard): All versions (No fix recorded)
- chainguard wazuh-dashboard-dashboards-maps-fips (Chainguard): All versions (No fix recorded)
- wolfi opensearch-dashboards-3-dashboards-maps (Wolfi): All versions (No fix recorded) \| \< 3.9.0-r0
- wolfi tileserver-gl (Wolfi): All versions (No fix recorded) \| \< 5.7.0-r0
- maplibre maplibre-gl-js: \< 6.4.1
- Npm maplibre-gl (Npm): \< 6.4.1 \| ≥ 6.0.0, \< 6.4.1 \| \< 5.24.1

## References

- <https://github.com/maplibre/maplibre-gl-js/security/advisories/GHSA-jrc7-96c5-q579>
- <https://github.com/maplibre/maplibre-gl-js/pull/8189>
- <https://github.com/maplibre/maplibre-gl-js/commit/1da69f3cd913a39fa948708e01478663bf48bc27>
- <https://github.com/maplibre/maplibre-gl-js/releases/tag/v6.4.1>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85061.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-85061>
- <https://github.com/maplibre/maplibre-gl-js>
- <https://github.com/maplibre/maplibre-gl-js/commit/a00cf153baba8225432540a84146fdb1a001633f>
- <https://github.com/maplibre/maplibre-gl-js/releases/tag/v5.24.1>

---

Data as of 2026-12-05T10:13:00.900Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
