News for hackers. Stuff that matters.
Re:HTML Sanitizer API by ataylor32 on Thursday May 06, 2021 @09:37AM (#27063004)
I wonder how it handles cases like this:

<sc<script>ript>alert('XSS')</sc</script>ript>

...and other strings from https://github.com/minimaxir/big-list-of-naughty-strings

Re:HTML Sanitizer API by open-paren on Thursday May 06, 2021 @09:52AM (#27063188)

  > (new Sanitizer()).sanitizeToString(`<sc<script>ript>alert('XSS')</sc</script>ript>`)
  "ript&gt;alert('XSS')ript&gt;"