Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
capricorn86 happy-dom
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

happy-dom是David Ortner个人开发者的一种没有图形用户界面的 web 浏览器的 JavaScript 实现。 happy-dom 20.0.2之前版本存在安全漏洞,该漏洞源于隔离不足,可能导致原型污染攻击和控制流劫持。

AI Predicted 7.5 Difficulty: Moderate EPSS 0.33% · P25
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-62410

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
--disallow-code-generation-from-strings is not sufficient for isolating untrusted JavaScript in happy-dom
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1321
Source: CVE Program / CVE List V5
Vulnerability Title
happy-dom 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
happy-dom是David Ortner个人开发者的一种没有图形用户界面的 web 浏览器的 JavaScript 实现。 happy-dom 20.0.2之前版本存在安全漏洞,该漏洞源于隔离不足,可能导致原型污染攻击和控制流劫持。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
capricorn86 happy-dom < 20.0.2 -

II. Public POCs for CVE-2025-62410

# POC Description Source Link Shenlong Link
1 None https://github.com/SubZeroHackerz/CVE-2025-62410 POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-62410

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-62410

No comments yet


Leave a comment