ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-33941

handlebars.js: Handlebars: Arbitrary code execution via CLI precompiler input sanitization flaw

Important No fix available CVE-2026-33941

Details

A flaw was found in Handlebars. The Handlebars command-line interface (CLI) precompiler concatenates user-controlled strings, such as template file names and CLI options, directly into the generated JavaScript without proper escaping or sanitization. An attacker capable of influencing these inputs can inject arbitrary JavaScript code. This can lead to arbitrary code execution when the generated JavaScript bundle is loaded in a Node.js environment or a web browser.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10firefox
All versions, no fix yet
Red Hat:enterprise_linux:8389-ds-base
All versions, will not be fixed
Red Hat:enterprise_linux:8389-ds-base-devel
All versions, will not be fixed
Red Hat:enterprise_linux:8389-ds-base-legacy-tools
All versions, will not be fixed
Red Hat:enterprise_linux:8389-ds-base-libs
All versions, will not be fixed
Red Hat:enterprise_linux:8389-ds-base-snmp
All versions, will not be fixed
Red Hat:enterprise_linux:8cockpit-389-ds
All versions, will not be fixed
Red Hat:enterprise_linux:8python3-lib389
All versions, will not be fixed
Red Hat:enterprise_linux:9thunderbird
All versions, no fix yet

References