181 packages found
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis
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
hast utility to sanitize nodes
sanitize html using caja and reasonable assumptions
Lightweight plugin for sanitize your html
Render a wordpress post to clean html
Modified sanitize-html for React. Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
silver-html plugin for sanitize.
A simple and safe way to set innerHTML for yo-yo or bel component.
A 1.75kB library for enhancing `html`. `ultrahtml` has zero dependencies and is compatible with any JavaScript runtime.
rehype plugin to sanitize HTML
This module Sanitizes HTML input, stripping all tags and attributes that aren't whitelisted.HTML sanitization can be used to protect against cross-site scripting (XSS) attacks by sanitizing any HTML code submitted by a user.
Lean and configurable allowlist-oriented HTML sanitizer
Escape a string for use in HTML or the inverse
- escape
- unescape
- html
- entity
- entities
- escaping
- sanitize
- sanitization
- utility
- template
- attribute
- value
- interpolate
- xss
- View more
Express middleware for the sanitizer module using Caja's HTML Sanitizer and HTML escape using htmlencode.