Vulnérabilités / CVE-2026-85061

critique

CVE-2026-85061

MapLibre GL JS: XSS Sanitizer Bypass in DOM.sanitize() via Live NamedNodeMap Removal Skip

Publiée Modifiée CWE 79
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

GHSA10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Le label propre à Trivy est CRITICAL. Critique selon GHSA.

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.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
npm::GitHub Security Advisory npmmaplibre-gl6.4.1
chainguardopensearch-dashboards-2, opensearch-dashboards-2-fips, opensearch-dashboards-3 et 3 autres2.19.7-r0 et 2 autres
echo npm::Echo OSVmaplibre-gl6.4.1
minimosopensearch-dashboards-3-plugin-dashboards-maps3.9.0.0-r0
wolfiopensearch-dashboards-3, tileserver-gl3.9.0-r0 et 1 autres
Afficher les 11 entrées de 5 sources
SourcePaquetCorrigé en
npm::GitHub Security Advisory npmmaplibre-gl6.4.1
chainguardopensearch-dashboards-22.19.7-r0
chainguardopensearch-dashboards-2-fips2.19.7-r0
chainguardopensearch-dashboards-33.9.0-r0
chainguardopensearch-dashboards-3-fips3.9.0-r0
chainguardtileserver-gl5.7.0-r0
chainguardtileserver-gl-fips5.7.0-r0
echo npm::Echo OSVmaplibre-gl6.4.1
minimosopensearch-dashboards-3-plugin-dashboards-maps3.9.0.0-r0
wolfiopensearch-dashboards-33.9.0-r0
wolfitileserver-gl5.7.0-r0

Références

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.