Search results

869 packages found

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

published version 3.2.6, 21 days ago2848 dependents licensed under $(MPL-2.0 OR Apache-2.0)
40,497,602

Escape a string for use in HTML or the inverse

published version 4.0.0, 4 years ago540 dependents licensed under $MIT
31,143,717

Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist

published version 1.0.15, a year ago1225 dependents licensed under $MIT
12,527,136

Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS

published version 0.0.11, 10 months ago34 dependents licensed under $MIT
11,868,191

Express middleware for the validator module.

published version 7.2.1, 5 months ago11939 dependents licensed under $MIT
3,478,193

Makes it possible to use DOMPurify on server and client in the same way.

published version 2.25.0, 20 days ago284 dependents licensed under $MIT
4,167,020

hast utility to sanitize nodes

published version 5.0.2, 7 months ago94 dependents licensed under $MIT
3,339,639

Content Security Policy middleware

published version 4.0.0, a year ago51 dependents licensed under $MIT
1,778,354

rehype plugin to sanitize HTML

published version 6.0.0, 2 years ago280 dependents licensed under $MIT
1,914,248

Secure XSS Filters - Just sufficient output filtering to prevent XSS!

published version 1.2.7, 9 years ago101 dependents
368,910

🛡️ Security Module for Nuxt based on HTTP Headers and Middleware

published version 2.2.0, 3 months ago9 dependents licensed under $MIT
281,241

Safe replacement for the v-html directive

published version 5.3.0, a month ago42 dependents licensed under $MIT
314,722

Jam3 eslint plugin for react

published version 0.2.3, 5 years ago12 dependents licensed under $MIT
178,173

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.

published version 2.0.0, 5 months ago7 dependents licensed under $MIT
143,983

OSWASP ESAPI4JS encoders port to node module

published version 0.0.1, 11 years ago10 dependents
77,373

XSS filter extension for showdown

published version 0.2.0, 10 years ago5 dependents licensed under $MIT
69,110

A helper for safely embedding URLs in style properties

published version 1.0.0, 3 years ago2 dependents licensed under $MIT
57,808

a small script to remove script tags from SVGs

published version 0.4.1, 2 months ago0 dependents licensed under $MIT
36,268

Escape string for use in html

published version 2.0.0, 9 years ago48 dependents licensed under $Public Domain
34,593

Express middleware for the sanitizer module.

published version 1.0.6, 4 years ago26 dependents licensed under $MIT
26,252