lurq

npm package

Home

rehype-sanitize

rehype-sanitize is a rehype plugin designed to sanitize HTML, ensuring that only explicitly allowed elements and attributes are retained. It is particularly useful when handling untrusted HTML content to prevent security vulnerabilities. This plugin fits into applications that require safe HTML transformations.

lurq health score
48/100
Confidence
unproven
Weekly downloads
7,666,931
Latest version
6.0.0
Last release
Aug 26, 2023
License
MIT

Should you depend on rehype-sanitize?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks rehype-sanitize 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

Upgrading rehype-sanitize

What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.

Other validation packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 20, 2026; this page refreshes every 168 hours. Source repository.