xss-attack-detection
This package helps to filter the input text that is malicious and intended to attack the server.
escape-goat
Escape a string for use in HTML or the inverse
dompurify
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else usin
xss-defender
A standalone library for XSS sanitization and detection.
xss
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist