9.4
Critical
CVE-2025-62410 In versions before 20.0.2, it was found that --disallow-code-generation-from-strings is not sufficient for isolating…
Description
In versions before 20.0.2, it was found that --disallow-code-generation-from-strings is not sufficient for isolating untrusted JavaScript in happy-dom. The untrusted script and the rest of the application still run in the same Isolate/process, so attackers can deploy prototype pollution payloads to hijack important references like "process" in the example below, or to hijack control flow via flipping checks of undefined property. This vulnerability is due to an incomplete fix for CVE-2025-61927. The vulnerability is fixed in 20.0.2.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| happy-dom 20.0 | earliest → < 20.0.2 | 20.0.2 |
References
- github.com github.com
- github.com github.com
Timeline
- Published
- Last modified
Other CVEs of happy-dom
The 9 CVEs of happy-dom →
CVE-2026-118661
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface
6.5
Medium
CVE-2026-118660
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface
8.6
High
CVE-2026-118659
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface
7.5
High
CVE-2026-115895
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface
8.8
High