Package Health

dompurify

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

Latest 3.4.17NPMNPM(MPL-2.0 OR Apache-2.0)
Declared in package metadata.

91%

Total Score

healthy

Frequent releases and active maintenance support this package, with contribution concentrated in one maintainer.

Are you affected? Scan for Free

Health Score Breakdown

Build provenancecaution

No build attestation or trusted-publisher provenance is reported, leaving publication origin less independently verifiable despite the package's otherwise strong project evidence.

Lifecycle scriptscaution

A prepare install-time script is present, which adds some execution surface during installation, although no additional harmful behavior is shown here.

Project backingcaution

The repository is owned by the user account cure53 rather than an organization, so the concentrated contribution pattern is not offset by explicit organization backing.

Repo bus factorcaution

Five contributors were active, but the top contributor made about 81% of recent commits, creating meaningful continuity risk.

Vulnerabilities

TitleVersionsSeverity
AIKIDO-2026-864217
dompurify is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 3.4.16.
0.0.1 - 3.4.16
Low
AIKIDO-2026-760928
dompurify is vulnerable to Cross-Site Scripting (XSS) in versions 3.4.4 - 3.4.16.
3.4.4 - 3.4.16
Low
AIKIDO-2026-580831
dompurify is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 3.4.16.
0.0.1 - 3.4.16
Low
AIKIDO-2026-211698
dompurify is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 3.4.15.
0.0.1 - 3.4.15
Low
AIKIDO-2026-289156
dompurify is vulnerable to Cross-Site Scripting (XSS) in versions 3.4.13 - 3.4.15.
3.4.13 - 3.4.15
Low

Package versions

VersionPublishedVulnerabilities
3.4.1712 Oct 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
3.4.1623 Sept 2026
0
0 critical, 3 total
0
0 high, 3 total
0
0 medium, 3 total
3
3 low, 3 total
3.4.156 Sept 2026
0
0 critical, 5 total
0
0 high, 5 total
0
0 medium, 5 total
5
5 low, 5 total
3.4.1419 Aug 2026
0
0 critical, 7 total
0
0 high, 7 total
2
2 medium, 7 total
5
5 low, 7 total
3.4.133 Aug 2026
0
0 critical, 7 total
0
0 high, 7 total
1
1 medium, 7 total
6
6 low, 7 total
3.4.1211 Jul 2026
0
0 critical, 7 total
0
0 high, 7 total
1
1 medium, 7 total
6
6 low, 7 total
3.4.1117 Jun 2026
0
0 critical, 8 total
0
0 high, 8 total
1
1 medium, 8 total
7
7 low, 8 total
3.4.1012 Jun 2026
0
0 critical, 9 total
0
0 high, 9 total
1
1 medium, 9 total
8
8 low, 9 total
3.4.910 Jun 2026
0
0 critical, 9 total
0
0 high, 9 total
1
1 medium, 9 total
8
8 low, 9 total
3.4.83 Jun 2026
0
0 critical, 10 total
0
0 high, 10 total
1
1 medium, 10 total
9
9 low, 10 total

Maintainers

Direct Dependencies

DependencyLast ReleaseScore
@types/trusted-types
Version ^2.0.7
—
—

Weekly Downloads

Info

Last Published
28 days ago
Created
12 years ago
Unpacked Size
1.6 MB

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea