happy-dom
21.0.4 · 20 Oct 2026MIT37.6M / weekRepositorynpmAtom feed
Upgrading happy-dom From 20.11.2 to 20.14.6
26 releases in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 1
- advisory fixed
- 6
- new
- 21
- fixes
Security
2 advisories still affect 20.14.6
- 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
Upgrading to 21.0.4 clears them.
Fixes 1 advisory affecting 20.11.2
- Happy DOM has cookie scope forgery: no DNS-label boundary on Domain= matching , attacker origin sets victim cookiesmoderate · GHSA-5fpq-26gf-qwcr
- 20.14.6
Fixes cookie scope forgery vulnerability - By @capricorn86
Release by release
- Security
Fixes cookie scope forgery vulnerability - By @capricorn86
- Security
- Fixed
Preserve character references in comment data - By @hampustagerud in task #2409
- Fixed
- Fixed
End comments at the first comment end tag when it overlaps a comment start tag - By @hampustagerud in task #2407
- Fixed
- Fixed
Avoids cloning all properties in CSSPropertyManager.toString - By @erictheswift in task #2363
- Fixed
- Fixed
Fixes regression where not all CSS variables where resolved in
getComputedStyle()- By @klaesra in task #2344
- Fixed
- Fixed
Invalidate the computed style cache for the whole subtree - By @matmannion and @capricorn86 in task #2366
- Fixed
- New
Improves computed style cache - By @capricorn86 in task #2357
- New
- Fixed
Fix problem with getComputedStyle with :host and :host-context selectors - By @capricorn86 in task #2349
- Fixed
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.