Skip to content

sanitize-html

No advisory in the database names sanitize-html (npm). No LLM component dependency is recorded for sanitize-html (npm).

Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis

npmLatest 2.18.1First release 2013-09-10Registry pageRepositoryChecked 2026-11-03

Advisories

Advisories that name sanitize-html as affected. For a version-exact check of your own dependencies, use Stack Check.

No advisory in the database names this package.

Dependencies of the latest release

As declared in npm metadata for version 2.18.1. Optional extras are listed with their extra name.

Tracked packages that depend on it

Among the packages in the registry; not every dependent on npm.