A robust markdown sanitizer that produces unambiguous and sanitized markdown output.
A fast, native Bun-powered HTML sanitizer with DOMPurify-like features. Protection against XSS and malicious content.
A simple utility to sanitize a string according to ArcGIS supported HTML specification.
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.
Express middleware for the sanitizer module.
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
Plugin for Logrocket to mask request/response bodies by designated field names
Lightning Web Security HTML and SVG sanitization utilities
PromptShield sanitizer that applies safe, deterministic fixes to text based on detected prompt-injection threats such as invisible characters, markdown smuggling, and BOM artifacts.
TypeScript definitions for sanitizer
sanitizer for markdown-it.
Decorator based class property sanitation in Typescript.
Sanitize out invalid xml characters from your strings
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 intuitive & tiny string sanitizer to remove any special characters or convert strings to create filename or url 🎉🎉
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).
Makes it possible to use DOMPurify on server and client in the same way.
Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis
URL sanitizer for Node.js, browsers and web sites.
A JavaScript/TypeScript utility to sanitize filenames for S3 and general use
String sanitization with JSON-Schema using Ajv
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.
HTML tag sanitizer for marked
Sanitize markdown according to a set of rules.
Markdown + oEmbed + Sanitize + Syntax Highlighting = the ultimate user input rendering pipeline.
Massages HTML how you want to: sanitize tags, remove headers and footers; output to html, markdown, or plain text.
Simple markdown for user input, with auto-link, auto-linebreak, and sanitization.