Lucene search
+L

CVE-2026-33941

🗓️ 27 Mar 2026 21:13:15Reported by GitHub_MType 
cve
 cve
🔗 web.nvd.nist.gov👁 110 Views🌐 WEB

CVE-2026-33941: Handlebars CLI precompiler injects JavaScript via unescaped template names and options.

Related
Detection
Affected
Refs
Paths
NVD
Vulners
Node
handlebarsjshandlebarsRange4.0.04.7.9node.js
[
  {
    "vendor": "handlebars-lang",
    "product": "handlebars.js",
    "versions": [
      {
        "version": ">= 4.0.0, < 4.7.9",
        "status": "affected"
      }
    ]
  }
]
ParameterPositionPathDescriptionCWE
template filenamepathbin/handlebarsCLI precompiler concatenates user-controlled strings into emitted JavaScript without escaping, allowing injection when template filenames or CLI options are controlled by an attacker.CWE-116CWE-79CWE-94
CLI option valuespathbin/handlebarsCLI precompiler concatenates user-controlled strings into emitted JavaScript without escaping, allowing injection when template filenames or CLI options are controlled by an attacker.CWE-116CWE-79CWE-94
template filenamepathlib/precompiler.jsPrecompiler.js concatenates user-controlled strings into emitted JavaScript without escaping, enabling arbitrary code execution when filenames or options are attacker-controlled.CWE-116CWE-79CWE-94
CLI option valuespathlib/precompiler.jsPrecompiler.js concatenates user-controlled strings into emitted JavaScript without escaping, enabling arbitrary code execution when filenames or options are attacker-controlled.CWE-116CWE-79CWE-94

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation