happy-dom
21.0.4 · 20 Oct 2026MIT37.6M / weekRepositorynpmAtom feed
Upgrading happy-dom From 20.10.4 to 21.0.4
36 releases in betweenevery note read
Reading releases, release notes and advisories…
- ?
- changes to make
- 3
- advisories fixed
- 10
- new
- 25
- fixes
Security
Fixes 3 advisories affecting 20.10.4
- 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
- 21.0.4
Fixed a code injection vulnerability in the ESM compiler - By @capricorn86
- 21.0.3
Fixes security vulnerability where authorization header was forwarded when redirecting - By @capricorn86
- 21.0.2
Fixes SSRF security vulnerability by doing a target-origin bypass in the proxy server in @happy-dom/server-renderer - By @capricorn86
- 21.0.0
Disables CSS and IFrame loading by default to prevent server-side request forgery (SSRF) - By @capricorn86
- 20.14.6
Fixes cookie scope forgery vulnerability - By @capricorn86
Release by release
- Security
Fixed a code injection vulnerability in the ESM compiler - By @capricorn86
- Fixed
Fixed cross-origin isolation so opaque-origin
data:iframes cannot access their parent or top window - By @capricorn86
- Security
- Security
Fixes security vulnerability where authorization header was forwarded when redirecting - By @capricorn86
- Security
- Security
Fixes SSRF security vulnerability by doing a target-origin bypass in the proxy server in @happy-dom/server-renderer - By @capricorn86
- Security
- New
Adds alias for enabling CSS and iframe loading to @happy-dom/server-renderer - By @capricorn86
- New
- Security
Disables CSS and IFrame loading by default to prevent server-side request forgery (SSRF) - By @capricorn86
- Security
- 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
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.