Vulnerability in Handlebarsjs Handlebars
CVE-2021-23369
The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.6 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.070, 94.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Handlebarsjs Handlebars
- Handlebars — versions unspecified
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- fazilbaig1/CVE-2021-23369 (2 stars, last pushed 2024-10-19): Handlebars CVE-2021-23369 Vulnerability
- dinhvaren/cve-2021-23369 (last pushed 2026-05-15)
Also mentioned in 1 other repository (amitgandole-tal/nodejs-cve). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952 (Exploit, Third Party Advisory)
- github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae… (Patch, Third Party Advisory)
- github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2eb… (Patch, Third Party Advisory)
- security.netapp.com/advisory/ntap-20210604-0008/ (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.