-
-
Notifications
You must be signed in to change notification settings - Fork 6
chore(deps): update dependency happy-dom to v20.0.2 [security] #1546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
❌ Deploy Preview for yunielacosta failed.
|
|
🤖 Hi @renovate[bot], I've received your request, and I'm working on it now! You can track my progress in the logs for more details. |
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
b73d0bb to
2f9603a
Compare
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
yap-api | 0c23b4d | Dec 31 2025, 02:11 PM |
🎭 Playwright Test ResultsTotal Tests: N/A |
2f9603a to
b4dbdd1
Compare
🎭 Playwright Test ResultsTotal Tests: N/A |
c60d455 to
e8f9391
Compare
🤖 CI Pipeline Results
Commit: ccd8c9f |
334a8a3 to
ee3ac1d
Compare
🤖 CI Pipeline Results
Commit: 7fc24a6 |
🤖 CI Pipeline Results
Commit: 9ccf796 |
ee3ac1d to
9402533
Compare
🤖 CI Pipeline Results
Commit: 7a56b47 |
9402533 to
8257194
Compare
🤖 CI Pipeline Results
Commit: e3354cc |
30f6648 to
1aebf0f
Compare
🤖 CI Pipeline Results
Commit: 81806c6 |
🤖 CI Pipeline Results
Commit: ed88e00 |
1aebf0f to
b1e4d57
Compare
🤖 CI Pipeline Results
Commit: 4a36a05 |
b1e4d57 to
cedaf14
Compare
🤖 CI Pipeline Results
Commit: 0e06e10 |
cedaf14 to
961562b
Compare
🤖 CI Pipeline Results
Commit: 9bf6c81 |
961562b to
9299752
Compare
🤖 CI Pipeline Results
Commit: a0b8e30 |
9299752 to
392ec10
Compare
🤖 CI Pipeline Results
Commit: 12108af |
392ec10 to
66f0e9f
Compare
|
🤖 CI Pipeline Results
Commit: eead8dc |
66f0e9f to
0c23b4d
Compare
|
🤖 CI Pipeline Results
Commit: ef051c3 |



This PR contains the following updates:
20.0.0→20.0.2GitHub Vulnerability Alerts
CVE-2025-62410
Summary
The mitigation proposed in GHSA-37j7-fg3j-429f for disabling eval/Function when executing untrusted code in happy-dom does not suffice, since it still allows prototype pollution payloads.
Details
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. There might be other payloads that allow the manipulation of require, e.g., via (univeral) gadgets (https://www.usenix.org/system/files/usenixsecurity23-shcherbakov.pdf).
PoC
Attackers can pollute builtins like Object.prototype.hasOwnProperty() to obtain important references at runtime, e.g., "process". In this way, attackers might be able to execute arbitrary commands like in the example below via spawn().
Impact
Arbitrary code execution via breaking out of the Node.js' vm isolation.
Recommended Immediate Actions
Users can freeze the builtins in the global scope to defend against attacks similar to the PoC above. However, the untrusted code might still be able to retrieve all kind of information available in the global scope and exfiltrate them via fetch(), even without prototype pollution capabilities. Not to mention side channels caused by the shared process/isolate. Migration to isolated-vm is suggested instead.
Cris from the Endor Labs Security Research Team, who has worked extensively on JavaScript sandboxing in the past, submitted this advisory.
Release Notes
capricorn86/happy-dom (happy-dom)
v20.0.2Compare Source
👷♂️ Patch fixes
@happy-dom/server-renderer- By @capricorn86 in task #1934v20.0.1Compare Source
👷♂️ Patch fixes
--disallow-code-generation-from-stringswasn't enough to protect against attackers escaping the VM context and accessing process-level functions. Big thanks to @cristianstaicu for reporting this!Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.