Express JS middleware to cleanup/sanitize json request body in express
Express middleware for the sanitizer module.
Express 4.x and 5.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.
A simple utility to sanitize a string according to ArcGIS supported HTML specification.
A fast, native Bun-powered HTML sanitizer with DOMPurify-like features. Protection against XSS and malicious content.
Caja's HTML Sanitizer as a Node.js module
a complete package to control user input data to prevent Cross Site Scripting (XSS) ,Sql injection and no Sql injection attack
An express middleware inspired from express-sanitizer but additionally sanitizes URL params. It also gives an option to provide a preprocessor function to decide whether a (key, value) pair should be sanitized or not.
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
Lightning Web Security HTML and SVG sanitization utilities
Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis
Sanitize your express payload to prevent MongoDB operator injection.
TypeScript definitions for sanitizer
Highly configurable, well-tested, JavaScript-based HTML minifier.
TypeScript definitions for express-xss-sanitizer
Node wrapper for the Google Caja HTML/CSS sanitizer
A string manipulation toolbox, featuring a string formatter (inspired by sprintf), a variable inspector (output featuring ANSI colors and HTML) and various escape functions (shell argument, regexp, html, etc).
Provides a fallback for non-existing directories so that the HTML 5 history API can be used.
HTML tag sanitizer for marked
Decorator based class property sanitation in Typescript.
Highly configurable, well-tested, JavaScript-based HTML minifier.
An Express.js middleware to prevent NoSQL injection attacks by sanitizing req.body, req.query, and req.params. Supports custom replacement and dot notation handling
An intuitive & tiny string sanitizer to remove any special characters or convert strings to create filename or url 🎉🎉
PromptShield sanitizer that applies safe, deterministic fixes to text based on detected prompt-injection threats such as invisible characters, markdown smuggling, and BOM artifacts.