rehype plugin to sanitize HTML
Escape a string for use in HTML or the inverse
Makes it possible to use DOMPurify on server and client in the same way.
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS
Express middleware for the validator module.
Secure XSS Filters - Just sufficient output filtering to prevent XSS!
HTML template tag with auto-escaping for JavaScript
Markdown and HTML renderer for Svelte 5 — built for rendering streaming AI agent output from Claude Code, ChatGPT, and agentic workflows. XSS-safe defaults, streaming-aware sanitization, token caching, TypeScript types, and Svelte 5 runes.
a small script to remove script tags from SVGs
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.
A performant zero-dependency utility to clean UTF-8 text, fix mojibake from latin1, verify string length, and sanitize input
a complete package to control user input data to prevent Cross Site Scripting (XSS) ,Sql injection and no Sql injection attack
Zero-dependency, isomorphic HTML sanitizer: a fast browser-faithful WHATWG engine (deny-by-default) plus a drop-in sanitize-html-compatible legacy engine.
Class-based sanitization in TypeScript using decorators
HTML sanitizer plugin for Vue 3, powered by sanitize-html.
A plugin for Elysia.js that provides XSS (Cross-Site Scripting) protection by sanitizing request body data.
A very small HTML sanitizer for rich-text paste paths — denylist, zero dependencies, passes DOMPurify's published fixture corpus
Safe HTML rendering for Svelte powered by DOMPurify. SSR-ready, browser-only entry, and edge-friendly options.
TypeScript definitions for express-xss-sanitizer
Small, safe, bidirectional Markdown parser and editor with streaming, undo/redo, rich fences, MCP tools, and a standalone airgapped build. Zero runtime deps. Browser and Node.js.
💎 Isomorphic html sanitizer by DOMPurify + sanitize-html
A CSS sanitizer to prevent XSS attacks
Express middleware for the sanitizer module using Caja's HTML Sanitizer.
HTML + URL sanitization for the MDX/markdown reference renderers. DOMPurify wrapper with a lazy-singleton, recycled JSDOM window for Node SSR (the `node` entry; the `browser` entry carries no jsdom); @braintree/sanitize-url for component prop URLs. Opt-in
Koa middleware for the validator module.
String escaping utilities for HTML and DOM attributes.
A Nuxt 3 module that integrates DOMPurify for sanitizing HTML content and protecting against XSS attacks, with support for multiple profiles.
automatic sanitization of req body fields, params and query. uses caja. automatically does sanitization and escaping as middleware.
Express middleware for the sanitizer module using Caja's HTML Sanitizer and HTML escape using htmlencode.
Security utilities: encryption, input validation, schemas, and PII sanitization
simple node middleware to sanitize req.body object
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.
蓝鲸 XSS 过滤工具
Validate, sanitize and render Writeon documents on the server (no DOM needed)
Tiny, modular, XSS-safe WYSIWYG editor for Vue 3 with a headless core, Markdown and HTML input/output
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.
Ember addon to help purify DOM content
DSH Web GUI 会话 Markdown 渲染插件:用户消息 GFM 渲染 + 助手消息白名单内嵌 HTML 后处理 + XSS 强白名单 + 聊天气泡。
Comprehensive security sanitization library for Model Context Protocol (MCP) servers with trusted security libraries