npm package report

Is happy-dom safe?

happy-dom (npm) has 8 known vulnerabilities, the worst rated CRITICAL. Upgrade to 21.0.4 or later to clear all of them. No malicious-package signal is recorded.

// reach

17 direct dependencies

3 carry known advisories, worst CRITICAL

11 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


cvss
9.4
critical

CVSS v4.0 base score out of 10

epss
0.36%
low

chance of exploitation in 30 days, 30th percentile of all CVEs

xyz score
5.2
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-qpm2-6cq5-7pq5, the advisory selected below

// 8 advisories

The mitigation proposed in GHSA-37j7-fg3j-429f for disabling eval/Function when executing untrusted code in happy-dom does not suffice, since it still allows…

Full advisory text at GitHub advisory or NVD.

// cvss v4.0 vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
Passive
Confidentiality (vulnerable system)
High
Integrity (vulnerable system)
High
Availability (vulnerable system)
High
Confidentiality (subsequent systems)
High
Integrity (subsequent systems)
High
Availability (subsequent systems)
High
// questions
Is happy-dom safe to install?

CyberXYZ does not call a package safe in absolute terms. It records 8 known vulnerabilities for happy-dom (npm), the worst rated CRITICAL, and no malicious-package signal. Whether it is acceptable depends on the version you run.

Does happy-dom have known vulnerabilities?

Yes. CyberXYZ records 8 known vulnerabilities for happy-dom (npm), the worst rated CRITICAL. These include GHSA-qpm2-6cq5-7pq5, GHSA-37j7-fg3j-429f, GHSA-96g7-g7g9-jxw8, GHSA-c8p4-j97h-3vg8, GHSA-834v-8h66-3h79.

Which version of happy-dom should I use?

21.0.4 or later clears every advisory recorded for happy-dom (npm). Check the release you pick before installing it.

How do I check happy-dom before installing?

Search happy-dom in CyberXYZ Check at https://cyberxyz.io/check?q=happy-dom. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


Checked 2026-11-14 at 12:38 UTC. The most recent advisory here was published 2026-10-28. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.