CVE-2026-33943: Happy DOM is a JavaScript implementation of a web browser without its graphical user interface
CVE-2026-33943 is a high-severity flaw (CVSS 8.8) affecting happy dom. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. In versions 15.10.0 through 20.8.7, a code injection vulnerability in `ECMAScriptModuleCompiler` allows an attacker to achieve Remote Code Execution (RCE) by injecting arbitrary JavaScript expressions inside `export { }` declarations in ES module scripts processed by happy-dom. The compiler directly interpolates unsanitized content into generated code
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-33943?
happy dom: upgrade to 20.8.8. Exact commands for each OS are on this page.
Is CVE-2026-33943 being exploited?
CVE-2026-33943 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-33943 affect?
CVE-2026-33943 affects happy dom. Severity is high (CVSS 8.8). Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. In versions 15.10.0 through 20.8.7, a code injection vulnerability in `ECMAScriptModuleCompiler` allows an attacker to achieve Remote Code Execu
How urgent is CVE-2026-33943?
Priority 48/100. High severity; Public exploit reference