happy-dom
21.0.4 · 20 Oct 2026MIT37.6M / weekRepositorynpmAtom feed
Upgrading happy-dom From 20.8.7 to 20.8.8
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 1
- advisory fixed
- 0
- new
- 1
- fix
Security
4 advisories still affect 20.8.8
- Happy DOM has cookie scope forgery: no DNS-label boundary on Domain= matching , attacker origin sets victim cookiesmoderate · GHSA-5fpq-26gf-qwcr
- Happy DOM: Incomplete fix for CVE-2026-33943: unsanitized import alias leads to host code executionhigh · GHSA-834v-8h66-3h79
- Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTMLhigh · GHSA-c8p4-j97h-3vg8
- Happy DOM's fetch credentials include uses page-origin cookies instead of target-origin cookieshigh · GHSA-w4gp-fjgq-3q4g
Upgrading to 21.0.4 clears them.
Fixes 1 advisory affecting 20.8.7
- Happy DOM ECMAScriptModuleCompiler: unsanitized export names are interpolated as executable codehigh · GHSA-6q6h-j7hj-3r64
- 20.8.8
A security advisory (GHSA-6q6h-j7hj-3r64) has been reported that shows a security vulnerability where it may be possible to escape the VM context and get access to process level functionality in unsafe environments using CommonJS.
Release by release
- Security
A security advisory (GHSA-6q6h-j7hj-3r64) has been reported that shows a security vulnerability where it may be possible to escape the VM context and get access to process level functionality in unsafe environments using CommonJS.
- Fixed
Fixes issue where export names can be interpolated as executable code in ESM - By @capricorn86 in task #2113
- Security
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.