Package Health

happy-dom

Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.

Latest 21.0.4NPMNPMMIT
Declared in package metadata.

82%

Total Score

healthy

Active maintenance is clear, but two high-confidence workflow findings weaken release automation safety.

Are you affected? Scan for Free

Health Score Breakdown

Repo bus factorcaution

The top contributor, capricorn86, made 29 of 44 commits, or 66%, while 11 other contributors made the remaining commits.

Repo toolingcaution

The repository uses Turbo and TypeScript for builds but reports no security scanning tools.

Workflow auditcaution

The audit analyzed all 3 workflows and found high-confidence template injection in .github/workflows/auto-assign.yml and .github/workflows/release.yml, plus an archived action and an ad hoc package install in the release workflow.

Vulnerabilities

TitleVersionsSeverity
CVE-2026-118660
happy-dom is vulnerable to Server-Side Request Forgery (SSRF) in versions 0.0.0 - 20.14.6.
0.0.0 - 20.14.6
High
CVE-2026-118661
happy-dom is vulnerable to Reliance on Cookies without Validation and Integrity Checking in versions 0.0.0 - 20.14.5.
0.0.0 - 20.14.5
Medium
CVE-2026-115895
happy-dom is vulnerable to Improper Control of Generation of Code ('Code Injection') in versions 17.0.0 - 21.0.3.
17.0.0 - 21.0.3
High
CVE-2026-34226
happy-dom is vulnerable to Insertion of Sensitive Information Into Sent Data in versions 0.0.0 - 20.8.9.
0.0.0 - 20.8.9
High
CVE-2026-33943
happy-dom is vulnerable to Improper Control of Generation of Code ('Code Injection') in versions 15.10.0 - 20.8.7.
15.10.0 - 20.8.7
High

Package versions

VersionPublishedVulnerabilities
21.0.420 Oct 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
21.0.315 Oct 2026
0
0 critical, 1 total
1
1 high, 1 total
0
0 medium, 1 total
0
0 low, 1 total
21.0.215 Oct 2026
0
0 critical, 1 total
1
1 high, 1 total
0
0 medium, 1 total
0
0 low, 1 total
21.0.112 Oct 2026
0
0 critical, 1 total
1
1 high, 1 total
0
0 medium, 1 total
0
0 low, 1 total
21.0.011 Oct 2026
0
0 critical, 1 total
1
1 high, 1 total
0
0 medium, 1 total
0
0 low, 1 total
20.14.68 Oct 2026
0
0 critical, 2 total
2
2 high, 2 total
0
0 medium, 2 total
0
0 low, 2 total
20.14.512 Sept 2026
0
0 critical, 3 total
2
2 high, 3 total
1
1 medium, 3 total
0
0 low, 3 total
20.14.412 Sept 2026
0
0 critical, 3 total
2
2 high, 3 total
1
1 medium, 3 total
0
0 low, 3 total
20.14.39 Sept 2026
0
0 critical, 3 total
2
2 high, 3 total
1
1 medium, 3 total
0
0 low, 3 total
20.14.29 Sept 2026
0
0 critical, 3 total
2
2 high, 3 total
1
1 medium, 3 total
0
0 low, 3 total

Maintainers

Direct Dependencies

DependencyLast ReleaseScore
ws
Version ^8.21.0
—
—
entities
Version ^7.0.1
—
—
@types/ws
Version ^8.18.1
—
—
@types/node
Version >=20.0.0
—
—
whatwg-mimetype
Version ^3.0.0
—
—

Weekly Downloads

Info

Last Published
1 month ago
Created
7 years ago
Unpacked Size
8.8 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