← Übersicht Nicht im beobachteten Stack

Happy DOM ECMAScriptModuleCompiler: unsanitized export names are interpolated as executable code

CVE-2026-33943 · GHSA-6q6h-j7hj-3r64

Hoch · CVSS 8.8 Red Hat: Important Netzwerk · ohne Login · Nutzerinteraktion Kein Fix bekannt

Veröffentlicht
26.03.2026 23:22
Zuletzt geändert
15.07.2026
EPSS (30 Tage)
0.7 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 1 betroffen, 1 nicht betroffen.

Red Hat OpenShift Container Platform 4 BetroffenFix ausstehend openshift4/ose-agent-installer-ui-rhel9
Nicht betroffen (1)
Red Hat Ansible Automation Platform 2Nicht betroffenverwundbarer Code nicht enthaltenansible-automation-platform-26/gateway-rhel9
Weitere betroffene Pakete (3)
CVEcapricorn86/happy-domkein Fix bekanntCVE-2026-33943
NVDcapricorn86:happy_dom15.10.0 → 20.8.8CVE-2026-33943
npmhappy-dom15.10.0 → 20.8.8GHSA-6q6h-j7hj-3r64

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login · Nutzerinteraktion) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.