dompurify 3.3.3
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
dompurify@3.3.3 was published on 2026-03-11. Its manifest declares 1 runtime dependency and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All dompurify versions · Permanent reference to 3.3.3 · Latest release
Package specifications
| Version | 3.3.3 |
|---|---|
| License declaration | (MPL-2.0 OR Apache-2.0) |
| Published | 2026-03-11T08:31:17.200Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 1 |
| Minified size | 21.83 KiB |
| Minified + gzip | 8.34 KiB |
| Unpacked distribution size | 818.62 KiB |
| Published file count | 13 |
| Package type | Not declared |
| ES module entry | ./dist/purify.es.mjs |
| Default entry | ./dist/purify.cjs.js |
| Side effects declaration | Not declared |
| Direct advisories | 17 |
| Resolved graph dependencies | 1 |
| Repository stars | 17491 |
| Repository forks | 882 |
Install dompurify 3.3.3
npm install dompurify@3.3.3 pnpm add dompurify@3.3.3 yarn add dompurify@3.3.3
Runtime dependencies
- @types/trusted-types ^2.0.7
Peer requirements
- None declared
Optional dependencies
- @types/trusted-types ^2.0.7
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @types/trusted-types@2.0.7 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Known direct advisories
- GHSA-39q2-94rc-95cp
- GHSA-55q2-fjhq-7xh7
- GHSA-6688-9rhm-gjv2
- GHSA-76mc-f452-cxcm
- GHSA-c2j3-45gr-mqc4
- GHSA-c6gr-qvv4-5v3f
- GHSA-cmwh-pvxp-8882
- GHSA-crv5-9vww-q3g8
- GHSA-gvmj-g25r-r7wr
- GHSA-h7mw-gpvr-xq4m
- GHSA-hpcv-96wg-7vj8
- GHSA-mrv2-3pqr-j5jr
- GHSA-r47g-fvhr-h676
- GHSA-rp9w-3fw7-7cwq
- GHSA-v9jr-rg53-9pgp
- GHSA-vxr8-fq34-vvx9
- GHSA-x4vx-rjvf-j5p4
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 10/10 — 30 commit(s) and 14 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Security-Policy | 10/10 — security policy file detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Code-Review | 10/10 — all changesets reviewed |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| Pinned-Dependencies | 10/10 — all dependencies are pinned |
| CII-Best-Practices | 7/10 — badge detected: Silver |
| License | 10/10 — license file detected |
| Fuzzing | 10/10 — project is fuzzed |
| Signed-Releases | 10/10 — 5 out of the last 5 releases have a total of 10 signed artifacts. |
| Branch-Protection | 8/10 — branch protection is not maximal on development and all release branches |
| SAST | 10/10 — SAST tool is run on all commits |
Evidence and freshness
- https://registry.npmjs.org/dompurify/3.3.3 — retrieved 2026-10-29T09:48:38.516Z
- https://api.deps.dev/v3/projects/github.com%2Fcure53%2FDOMPurify — retrieved 2026-10-29T05:55:52.020Z
- https://api.deps.dev/v3/systems/npm/packages/dompurify/versions/3.3.3:dependencies — retrieved 2026-10-29T09:48:39.135Z
- https://bundlephobia.com/api/size?package=dompurify%403.3.3 — retrieved 2026-10-29T09:48:39.110Z
- https://api.deps.dev/v3/systems/npm/packages/dompurify/versions/3.3.3 — retrieved 2026-10-29T09:48:39.116Z