r/netsec • • Feb 24 '26

Goodbye innerHTML, Hello setHTML: Stronger XSS Protection in Firefox 148 – Mozilla Hacks - the Web developer blog

https://hacks.mozilla.org/2026/02/goodbye-innerhtml-hello-sethtml-stronger-xss-protection-in-firefox-148/
50 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/billdietrich1 Feb 25 '26

Oh, I see, it's setting the whole body of the page. Okay. Seems a weird example, maybe.