Home

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.

PUBLISHED Reserved 2025-10-13 | Published 2025-10-15 | Updated 2025-10-15 | Assigner GitHub_M




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

Problem types

CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Product status

< 20.0.2
affected

References

github.com/...py-dom/security/advisories/GHSA-qpm2-6cq5-7pq5

github.com/...ommit/f4bd4ebe3fe5abd2be2bcea1c07043c8b0b70eea

cve.org (CVE-2025-62410)

nvd.nist.gov (CVE-2025-62410)

Download JSON