Vulnerabilidades / CVE-2026-85061

crítica

CVE-2026-85061

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

Publicada Modificada CWE 79
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

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

La etiqueta propia de Trivy es CRITICAL. Crítica según GHSA.

Descripción

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.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
npm::GitHub Security Advisory npmmaplibre-gl6.4.1
chainguardopensearch-dashboards-2, opensearch-dashboards-2-fips, opensearch-dashboards-3 y 3 más2.19.7-r0 y 2 más
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 y 1 más
Mostrar las 11 entradas de 5 fuentes
FuentePaqueteCorregido 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

Referencias

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.