happy-dom
21.0.4 · 20 Oct 2026MIT37.6M / weekRepositorynpmAtom feed
Upgrading happy-dom From 19.0.2 to 20.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Other targets from 19.0.2Clears its 7 advisories, Latest21.0.4
- 2
- changes to make
- 1
- advisory fixed
- 0
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking20.0.0
- Breaking20.0.0
Security
6 advisories still affect 20.0.0
- Happy DOM has cookie scope forgery: no DNS-label boundary on Domain= matching , attacker origin sets victim cookiesmoderate · GHSA-5fpq-26gf-qwcr
- Happy DOM ECMAScriptModuleCompiler: unsanitized export names are interpolated as executable codehigh · GHSA-6q6h-j7hj-3r64
- Happy DOM: Incomplete fix for CVE-2026-33943: unsanitized import alias leads to host code executionhigh · GHSA-834v-8h66-3h79
Upgrading to 21.0.4 clears them.
Fixes 1 advisory affecting 19.0.2
- Happy DOM: VM Context Escape can lead to Remote Code Executioncritical · GHSA-37j7-fg3j-429f
- 20.0.0
A security advisory (GHSA-37j7-fg3j-429f) has been reported that shows a security vulnerability where it's possible to escape the VM context and get access to process level functionality.
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.