PoC Monitor
← All CVEs
CVE-2025-62410published 15 Oct 2025 17:16 UTCData: JSON · API

Capricorn86 happy-dom

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.4critical · scored by CNA · CWE-1321
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

capricorn86 happy-dom
  • < 20.0.2

Fixed in 20.0.2

Mitigation

Upgrade happy-dom to 20.0.2 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published15 Oct 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.