# MapLibre GL JS v6.4.1 - Product: MapLibre GL JS (https://whatsnew.fyi/product/maplibre-gl-js) - Vendor: MapLibre - Date: 2026-08-18 - Version: v6.4.1 - Original notes: https://github.com/maplibre/maplibre-gl-js/releases/tag/v6.4.1 - Permalink: https://whatsnew.fyi/product/maplibre-gl-js/releases/v6.4.1 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **fixed** — Fix DOM.sanitize leaving dangerous attributes behind when multiple consecutive attributes are present by iterating over a copy of the attributes list instead of the live NamedNodeMap - **fixed** — Give custom layers the live globe transition in CustomRenderMethodInput.defaultProjectionData.projectionTransition instead of using a hardcoded value of 1 ###### 🐞 Bug fixes - Fix `DOM.sanitize` leaving dangerous attributes behind when multiple consecutive attributes are present. Iterating the live `NamedNodeMap` from `elem.attributes` while calling `removeAttribute` skipped the attribute directly after a removed one, so a second dangerous attribute (for example an `ontoggle` on a `
` element) could survive sanitisation and later execute ([#8189](https://github.com/maplibre/maplibre-gl-js/pull/8189)) (by [@0xKirisame](https://github.com/0xKirisame)) - Give custom layers the live globe transition in `CustomRenderMethodInput.defaultProjectionData.projectionTransition`, which was hardcoded to 1 for the whole globe/mercator transition, so a custom layer jumped straight to the fully bent globe while every other layer eased ([#8169](https://github.com/maplibre/maplibre-gl-js/pull/8169)) (by [@mondsichtung](https://github.com/mondsichtung))