News for hackers. Stuff that matters.
Re:Goodbye InnerHTML, Hello SetHTML: Stronger XSS Protection... by Dylan16807 on Tuesday February 24, 2026 @04:22PM (#47143252)
This help? https://github.com/validator/validator

But for html snippets you can pretty much just check that tags follow a couple simple rules between <> and that they're closed or not closed correctly.

Re:Goodbye InnerHTML, Hello SetHTML: Stronger XSS Protection... by intrasight on Tuesday February 24, 2026 @04:50PM (#47143704)
That app does look helpful!