happy-dom
21.0.4 · 20 Oct 2026MIT37.6M / weekRepositorynpmAtom feed
Upgrading happy-dom From 20.3.3 to 20.3.4
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
5 advisories still affect 20.3.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 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.
Release by release
- New
Implement implicit closing of
<p>elements per HTML spec - By @TrevorBurnham in task #1949 - Fixed
Preserve attribute name case in CSS selectors for XML documents - By @TrevorBurnham in task #1912
- Fixed
EventTargetshould not call arbitrary on* properties - By @TrevorBurnham in task #1895
- New
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.