npm package
Homedompurify
DOMPurify is a fast and tolerant XSS sanitizer for HTML, MathML, and SVG, designed to enhance web security by preventing cross-site scripting attacks. It is suitable for applications that handle user-generated content and need to ensure safe rendering in the browser. The library is built by security experts and works across modern browsers and Node.
- lurq health score
- 98/100
- Confidence
- proven
- Weekly downloads
- 64,331,425
- Latest version
- 3.4.14
- Last release
- Aug 19, 2026
- License
- (MPL-2.0 OR Apache-2.0)
Should you depend on dompurify?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks dompurify at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Other utility packages lurq scores
- pdfjs-dist95/100 · proven
- @puppeteer/browsers94/100 · proven
- puppeteer-core94/100 · proven
- puppeteer94/100 · proven
- undici-types92/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 4, 2026; this page refreshes every 24 hours. Source repository.