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:
-
Updated
May 15, 2024 - JavaScript
Sanitizing is a process to check and remove harmful data from user input. It prevents XSS (Cross Site Scripting) attacks.
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:
Use DOMPurify on server and client in the same way
Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.
Biblioteca para realizar a limpeza de dados em objetos e arrays de forma simplificada.
A collection of secure & minimal parsers for HTML, CSS, SVG, MathML, XML, and JSON
Isomorphic library for recursive manipulation of live WHATWG DOMs.
🚥 Koa middleware to validate and sanitize HTTP request
Scripts for testing HTML sanitizers
sanitizer express request based on mongoose schema tree
Recursive function that'll sanitize a string or ALL values in an object or array.
Sanitize Express request body, query, param, headers
Sanitizer API polyfill & config
A minimalistic library for sanitizing strings so that they can be safely used as HTML.
Remove unwanted HTML tags from user's input or untrusted sources
A custom directive for Vue 2/3 that allows you to flexibly and easily control the output of potentially dangerous HTML.