npm · npm:dompurify
dompurify active
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It runs as JavaScript and works in all modern browsers, as well as in Node.js (via jsdom). DOMPurify is written by security people who have vast background in web a
The latest stable version of dompurify is 3.4.17, published on 2026-10-12. Verified by Vigia on 2026-11-12.
| Latest stable version | 3.4.17 |
|---|---|
| Published | 2026-10-12 12:41:28 UTC |
| Install | npm install dompurify@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | latest: 3.4.17 |
| License | (MPL-2.0 OR Apache-2.0) |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:48:30 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-09-23 15:29:57 UTC · 50 days ago |
| Stable releases in the last 12 months | 21 |
| Published versions | 153 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.4.16 | 2026-09-23 15:29:57 UTC |
3.4.15 | 2026-09-06 11:39:57 UTC |
3.4.14 | 2026-08-19 10:25:15 UTC |
3.4.13 | 2026-08-03 14:16:00 UTC |
3.4.12 | 2026-07-11 12:11:29 UTC |
3.4.11 | 2026-06-17 10:33:28 UTC |
3.4.10 | 2026-06-12 12:49:46 UTC |
3.4.9 | 2026-06-10 08:42:40 UTC |
3.4.8 | 2026-06-03 12:07:27 UTC |
3.4.7 | 2026-05-27 11:40:00 UTC |
3.4.6 | 2026-05-26 13:07:02 UTC |
3.4.5 | 2026-05-18 07:46:30 UTC |
3.4.4 withdrawn | 2026-05-17 10:39:02 UTC |
3.4.3 | 2026-05-13 11:11:40 UTC |
3.4.2 | 2026-04-30 15:45:30 UTC |
3.4.1 | 2026-04-21 16:34:59 UTC |
3.4.0 | 2026-04-14 07:51:39 UTC |
3.3.3 | 2026-03-11 08:31:17 UTC |
3.3.2 | 2026-03-05 12:51:06 UTC |
2.5.9 | 2026-03-05 12:42:43 UTC |
Showing the 20 most recent of 153 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 3.4.16 |
node 18 | 3.4.16 |
node 20 | 3.4.16 |
node 22 | 3.4.16 |
node 24 | 3.4.16 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of dompurify?
The latest stable version of dompurify is 3.4.17, published on 2026-10-12. Verified by Vigia on 2026-11-12.
How do I install the latest version of dompurify?
Run npm install dompurify@latest. The latest stable version is 3.4.17 (verified 2026-11-12).
Is dompurify deprecated?
No. dompurify is not marked as deprecated in the registry.
Which Node.js version does dompurify require?
dompurify 3.4.17 does not declare a Node.js version requirement.
Does dompurify 3.4.17 have known vulnerabilities?
No known advisories affect dompurify 3.4.17 according to the data Vigia checks.
Is dompurify still maintained?
dompurify published 21 stable releases in the last 12 months; the most recent was 50 days ago. Activity: active.
Observed changes
- ue Oct 13 2026 10:51:10 GMT+0000 (Coordinated Universal Time) — released 3.4.17 → 3.4.17
- Mon Oct 12 2026 12:47:03 GM +0000 (Coordinated Universal Time) — released 3.4.16 → 3.4.17
Related packages
- @vitejs/plugin-react
- @babel/plugin-transform-template-literals
- regenerate-unicode-properties
- confbox
- lodash.once
- @webassemblyjs/wasm-opt
- @radix-ui/react-radio-group
- tmpl
- tinyspy
- minipass-collect
- vfile
- pkg-types
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/dompurify) [](https://vigia.coredls.cloud/npm/dompurify) [](https://vigia.coredls.cloud/npm/dompurify)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/dompurify
GET https://vigia.coredls.cloud/v1/packages/npm/dompurify/versions/{version}