dompurify 2.0.9
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@2.0.9 was published on 2020-04-22. Its manifest declares 2 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
Deprecated: This release was buggy and should be skipped.
All dompurify versions · Permanent reference to 2.0.9 · Latest release
Package specifications
| Version | 2.0.9 |
|---|---|
| License declaration | MPL-2.0 OR Apache-2.0 |
| Published | 2020-04-22T14:45:42.535Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 2 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 499.74 KiB |
| Published file count | 11 |
| Package type | Not declared |
| ES module entry | dist/purify.es.js |
| Default entry | dist/purify.cjs.js |
| Side effects declaration | Not declared |
| Direct advisories | 23 |
| Resolved graph dependencies | 3 |
| Repository stars | 17491 |
| Repository forks | 882 |
Install dompurify 2.0.9
npm install dompurify@2.0.9 pnpm add dompurify@2.0.9 yarn add dompurify@2.0.9
Runtime dependencies
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- node@13.14.0 — direct
- node-bin-setup@1.1.4 — indirect
- nvm@0.0.4 — 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-63q7-h895-m982
- GHSA-6688-9rhm-gjv2
- GHSA-76mc-f452-cxcm
- GHSA-c2j3-45gr-mqc4
- GHSA-c6gr-qvv4-5v3f
- GHSA-cj63-jhhr-wcxv
- GHSA-cjmm-f4jc-qw8r
- GHSA-cmwh-pvxp-8882
- GHSA-crv5-9vww-q3g8
- GHSA-gx9m-whjm-85jf
- GHSA-h7mw-gpvr-xq4m
- GHSA-h8r8-wccr-v5f2
- GHSA-hpcv-96wg-7vj8
- GHSA-mmhx-hmjr-r674
- GHSA-mrv2-3pqr-j5jr
- GHSA-p3vf-v8qc-cwcr
- GHSA-r47g-fvhr-h676
- GHSA-rp9w-3fw7-7cwq
- GHSA-vhxf-7vqr-mrjg
- 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/2.0.9 — retrieved 2026-10-29T10:19:36.612Z
- 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/2.0.9 — retrieved 2026-10-29T10:19:37.226Z
- https://api.deps.dev/v3/systems/npm/packages/dompurify/versions/2.0.9:dependencies — retrieved 2026-10-29T10:19:37.244Z