{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-85061","id":"CVE-2026-85061","title":"MapLibre GL JS: XSS Sanitizer Bypass in DOM.sanitize() via Live NamedNodeMap Removal Skip","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 cust","descriptionLong":"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.","published":"2026-09-03T20:18:50.854Z","updated":"2026-10-28T02:30:47.287245393Z","reserved":"2026-09-02T21:21:01.774Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"github.com"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"GitHub"}],"rating":"critical","products":["maplibre-gl-js"],"affectedProducts":[{"vendor":"maplibre","product":"maplibre-gl-js","defaultStatus":null,"versions":[{"version":"< 6.4.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"maplibre-gl","purl":"pkg:npm/maplibre-gl","ranges":["<6.4.1"],"fixed":["6.4.1"],"advisory":"GHSA-jrc7-96c5-q579"}],"cwes":["CWE-79"],"aliases":["GHSA-jrc7-96c5-q579"],"references":[{"url":"https://github.com/maplibre/maplibre-gl-js/security/advisories/GHSA-jrc7-96c5-q579","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/maplibre/maplibre-gl-js/pull/8189","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/maplibre/maplibre-gl-js/commit/1da69f3cd913a39fa948708e01478663bf48bc27","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/maplibre/maplibre-gl-js/releases/tag/v6.4.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85061.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85061","tags":["advisory"]},{"url":"https://github.com/maplibre/maplibre-gl-js","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00522,"epssPercentile":0.45235,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-85061","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85061","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-85061","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jrc7-96c5-q579","ok":true,"note":"GHSA-jrc7-96c5-q579"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-85061","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}