CVE-2021-23369
CRITICAL
Published Apr 12, 20215y ago · Modified Jun 17, 20261w ago
9.8 CVSS 3.1
Published Apr 12, 2021 5y ago
Last Modified Jun 17, 2026 1w ago
Description
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
Patch Available
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| handlebarsjs | handlebars | * | <4.7.7 |
References 7
- github.com https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8
- github.com https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427
- security.netapp.com https://security.netapp.com/advisory/ntap-20210604-0008/
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951
- snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952
- snyk.io https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767
Remediation
- github.com https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8
- github.com https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427