Back to CVE records
Critical 9.4Published Oct 15, 2025

CVE-2025-62410--disallow-code-generation-from-strings is not sufficient for isolating untrusted JavaScript in happy-dom

Updated under an hour ago ()

Does this affect you?

It affects capricorn86 happy-dom. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
9.4 CRITICAL (v4.0, CNA)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
Weakness (CWE)
CWE-1321
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Deferred
Record last updated
Oct 15, 2025
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
capricorn86 happy-dom
capricorn86:happy_dom (from the name)
before 20.0.2
CNA record

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.