Post
Firefox for Web Developers
webdevs.firefox.com
did:plc:6jsvyhtxrkb4d2wrlwd2avmm
The Sanitizer API landed in Firefox 148, along with element.setHTML().
This lets you fully configure how HTML strings are cleaned as they're parsed.
https://hacks.mozilla.org/2026/02/goodbye-innerhtml-hello-sethtml-stronger-xss-protection-in-firefox-148/
2026-02-24T14:18:31.051Z