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.
TypeScript definitions for express-xss-sanitizer
A simple utility to sanitize a string according to ArcGIS supported HTML specification.
Express middleware for the sanitizer module.
A fast, native Bun-powered HTML sanitizer with DOMPurify-like features. Protection against XSS and malicious content.
a complete package to control user input data to prevent Cross Site Scripting (XSS) ,Sql injection and no Sql injection attack
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
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
Secure XSS Filters - Just sufficient output filtering to prevent XSS!
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.
Makes it possible to use DOMPurify on server and client in the same way.
Express JS middleware to cleanup/sanitize json request body in express
Middleware to disable the X-XSS-Protection header
Sanitize your express payload to prevent MongoDB operator injection.
Comprehensive security sanitization library for Model Context Protocol (MCP) servers with trusted security libraries
Koa middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.
simple node middleware to sanitize req.body object
Client-side (browser-based) HTML sanitizer for front end
Middleware to sanitize http requests
A CSS sanitizer to prevent XSS attacks
Validates XSS related issues of mixing HTML and non-HTML content in variables.
blocklet prevent xss attack
Decorator based class property sanitation in Typescript.
Caja's HTML Sanitizer as a Node.js module