{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-33943","published":"2026-03-27T22:16:21.393000Z","last_modified":"2026-10-26T00:10:00.150000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-94","CWE-917"],"cpes":[{"criteria":"cpe:2.3:a:capricorn86:happy_dom:*:*:*:*:*:node.js:*:*","part":"a","vendor":"capricorn86","product":"happy_dom","version_start_including":"15.10.0","version_end_excluding":"20.8.8"}],"cpes_truncated":false,"vendors":["capricorn86"],"products":["capricorn86/happy_dom"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-6q6h-j7hj-3r64","ecosystem":"npm","name":"happy-dom","purl":"pkg:npm/happy-dom","ranges":[{"introduced":"15.10.0","fixed":"20.8.8"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-33943/","html_en":"/en/cve/CVE-2026-33943/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-33943","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-33943"},"untrusted":{"vendor_name":"Capricorn86","product_name":"Happy Dom","desc_en":"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.","affected":[{"untrusted_vendor":"capricorn86","untrusted_product":"happy-dom","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Ansible Automation Platform 2","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Container Platform 4","versions":[]}],"references":[{"url":"https://github.com/capricorn86/happy-dom/commit/5437fdf8f13adb9590f9f52616d9f69c3ee8db3c","tags":["Patch"]},{"url":"https://github.com/capricorn86/happy-dom/releases/tag/v20.8.8","tags":["Product","Release Notes"]},{"url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-6q6h-j7hj-3r64","tags":["Exploit","Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-33943","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452522","tags":[]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33943.json","tags":[]}]}}