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.
History

Thu, 16 Oct 2025 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 10.0, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

threat_severity

Critical


Wed, 15 Oct 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 15 Oct 2025 17:30:00 +0000

Type Values Removed Values Added
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.
Title --disallow-code-generation-from-strings is not sufficient for isolating untrusted JavaScript in happy-dom
Weaknesses CWE-1321
References
Metrics cvssV4_0

{'score': 9.4, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-10-15T17:16:21.561Z

Updated: 2025-10-15T18:16:44.558Z

Reserved: 2025-10-13T16:26:12.178Z

Link: CVE-2025-62410

cve-icon Vulnrichment

Updated: 2025-10-15T18:16:01.640Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-10-15T18:15:40.567

Modified: 2025-10-16T15:28:59.610

Link: CVE-2025-62410

cve-icon Redhat

Severity : Critical

Publid Date: 2025-10-15T17:16:21Z

Links: CVE-2025-62410 - Bugzilla