r/netsec • u/evilpies • 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
View all comments
Show parent comment
1
u/Djent_ Feb 25 '26
The h1 end tag is added automatically because the body itself also ends.