prevent-xss-attacks
There are 4 repositories under prevent-xss-attacks topic.
cure53/DOMPurify
DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:
feiin/go-xss
go-xss is a module used to filter input from users to prevent XSS attacks
soosyze/kses
It removes all unwanted HTML elements and attributes, no matter how malformed HTML input you give it. Checks on attribute values. Can be used to avoid Cross-Site Scripting (XSS), Buffer Overflows and Denial of Service attacks, among other things.
oleksandr-dukhovnyy/purify-html
A minimalistic library for sanitizing strings so that they can be safely used as HTML.