{"id":"EUVD-2026-16864","revision":"f132243509294ab8a28c50a357151b2e","records":[{"revision":"f132243509294ab8a28c50a357151b2e","observedAt":"2026-11-05T07:54:17.694+00:00","statement":{"source":"euvd","id":"EUVD-2026-16864","aliases":["CVE-2026-33943","GHSA-6q6h-j7hj-3r64"],"title":"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…","description":"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 as an executable expression, and the quote filter does not strip backticks, allowing template literal-based payloads to bypass sanitization. Version 20.8.8 fixes the issue.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"severity":null}],"references":["https://github.com/capricorn86/happy-dom/security/advisories/GHSA-6q6h-j7hj-3r64","https://github.com/capricorn86/happy-dom/commit/5437fdf8f13adb9590f9f52616d9f69c3ee8db3c","https://github.com/capricorn86/happy-dom/releases/tag/v20.8.8"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-16864","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Mar 27, 2026, 9:15:19 PM","dateUpdated":"Jul 15, 2026, 1:05:08 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-16864","identifiers":["EUVD-2026-16864","CVE-2026-33943","GHSA-6q6h-j7hj-3r64"]},"retained":false,"historicalAffected":[]}],"coverage":[]}