{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-85061","published":"2026-09-03T21:17:23.323000Z","last_modified":"2026-09-09T21:09:13.080000Z","status":"Deferred","cvss":{"version":"3.1","score":10.0,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["maplibre"],"products":["maplibre/maplibre-gl-js"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-jrc7-96c5-q579","ecosystem":"npm","name":"maplibre-gl","purl":"pkg:npm/maplibre-gl","ranges":[{"introduced":"6.0.0","fixed":"6.4.1"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-jrc7-96c5-q579","ecosystem":"npm","name":"maplibre-gl","purl":"pkg:npm/maplibre-gl","ranges":[{"introduced":"0","fixed":"5.24.1"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":75,"links":{"html_es":"/es/cve/CVE-2026-85061/","html_en":"/en/cve/CVE-2026-85061/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-85061","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-85061"},"untrusted":{"vendor_name":"maplibre","product_name":"maplibre-gl-js","desc_en":"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.","affected":[{"untrusted_vendor":"maplibre","untrusted_product":"maplibre-gl-js","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"d8c3f2cb1c2e026a62521ff6fbf6260c","generated":"2026-12-01T16:50:54.498559Z","es":{"untrusted_title":"Sanitización incompleta de atributos HTML en MapLibre GL JS","untrusted_summary":"MapLibre GL JS anterior a versión 6.4.1 contiene un fallo en la función DOM.sanitize() que permite que atributos peligrosos como onload u ontoggle eludan la sanitización cuando se proporcionan consecutivamente en cadenas de atribución. Un atacante que controle atribuciones de terceros o personalizadas puede ejecutar código JavaScript arbitrario cuando la víctima renderiza el mapa."},"en":{"untrusted_title":"Incomplete HTML attribute sanitization in MapLibre GL JS","untrusted_summary":"MapLibre GL JS prior to version 6.4.1 contains a flaw in the DOM.sanitize() function that allows dangerous attributes such as onload or ontoggle to bypass sanitization when provided consecutively in attribution strings. An attacker controlling third-party or custom attributions can execute arbitrary JavaScript code when a victim renders the map."},"remediation":{"status":"fix","fixed_versions":["6.4.1","5.24.1"],"untrusted_action_es":"Actualiza maplibre-gl a versión 6.4.1 o 5.24.1 según tu rama de soporte.","untrusted_action_en":"Update maplibre-gl to version 6.4.1 or 5.24.1 depending on your supported branch.","vendor_url":"https://github.com/maplibre/maplibre-gl-js/releases/tag/v6.4.1"},"reviewed":false},"references":[{"url":"https://github.com/maplibre/maplibre-gl-js/commit/1da69f3cd913a39fa948708e01478663bf48bc27","tags":[]},{"url":"https://github.com/maplibre/maplibre-gl-js/pull/8189","tags":[]},{"url":"https://github.com/maplibre/maplibre-gl-js/releases/tag/v6.4.1","tags":[]},{"url":"https://github.com/maplibre/maplibre-gl-js/security/advisories/GHSA-jrc7-96c5-q579","tags":[]}]}}