Lookup for vulnerable packages by Package URL.
| Purl | pkg:npm/happy-dom@6.0.1 |
| Type | npm |
| Namespace | |
| Name | happy-dom |
| Version | 6.0.1 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 20.8.9 |
| Latest_non_vulnerable_version | 20.8.9 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-37t5-mg2s-dfbh |
| vulnerability_id |
VCID-37t5-mg2s-dfbh |
| summary |
happy-dom is a JavaScript implementation of a web browser without its graphical user interface. Versions of happy-dom prior to 15.10.2 may execute code on the host via a script tag. This would execute code in the user context of happy-dom. Users are advised to upgrade to version 15.10.2. There are no known workarounds for this vulnerability. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2024-51757, GHSA-96g7-g7g9-jxw8
|
| risk_score |
4.5 |
| exploitability |
0.5 |
| weighted_severity |
9.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-37t5-mg2s-dfbh |
|
| 1 |
| url |
VCID-hvjv-qpkc-kug7 |
| vulnerability_id |
VCID-hvjv-qpkc-kug7 |
| summary |
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Happy DOM v19 and lower contains a security vulnerability that puts the owner system at the risk of RCE (Remote Code Execution) attacks. A Node.js VM Context is not an isolated environment, and if the user runs untrusted JavaScript code within the Happy DOM VM Context, it may escape the VM and get access to process level functionality. It seems like what the attacker can get control over depends on if the process is using ESM or CommonJS. With CommonJS the attacker can get hold of the `require()` function to import modules. Happy DOM has JavaScript evaluation enabled by default. This may not be obvious to the consumer of Happy DOM and can potentially put the user at risk if untrusted code is executed within the environment. Version 20.0.0 patches the issue by changing JavaScript evaluation to be disabled by default. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2025-61927, GHSA-37j7-fg3j-429f
|
| risk_score |
4.5 |
| exploitability |
0.5 |
| weighted_severity |
9.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-hvjv-qpkc-kug7 |
|
| 2 |
| url |
VCID-vu96-bjvq-4bex |
| vulnerability_id |
VCID-vu96-bjvq-4bex |
| summary |
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Versions prior to 20.8.9 may attach cookies from the current page origin (`window.location`) instead of the request target URL when `fetch(..., { credentials: "include" })` is used. This can leak cookies from origin A to destination B. Version 20.8.9 fixes the issue. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2026-34226, GHSA-w4gp-fjgq-3q4g
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-vu96-bjvq-4bex |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 4.5 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:npm/happy-dom@6.0.1 |