Remote Code Execution (RCE)
Summary
| CVE | CVE-2021-23369 |
|---|---|
| State | PUBLISHED |
| Assigner | snyk |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-04-12 14:15:14 UTC |
| Updated | 2026-10-08 22:17:07 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.070280000 probability, percentile 0.940350000 (date 2026-10-10)
Problem Types: NVD-CWE-noinfo | Remote Code Execution (RCE)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | [email protected] | Secondary | 5.6 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| 3.1 | CNA | DECLARED | 5.6 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| 2.0 | [email protected] | Primary | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:L/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Handlebarsjs | Handlebars | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | Handlebars | affected unspecified 4.7.7 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Remote Code Execution (RCE) in org.webjars.npm:handlebars | Snyk | af854a3a-2127-422b-91ae-364da2661108 | snyk.io | Exploit, Third Party Advisory |
| fix: escape property names in compat mode (#1736) · handlebars-lang/handlebars.js@f058970 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch, Third Party Advisory |
| Remote Code Execution (RCE) in org.webjars.bower:handlebars | Snyk | af854a3a-2127-422b-91ae-364da2661108 | snyk.io | Exploit, Third Party Advisory |
| Remote Code Execution (RCE) in org.webjars:handlebars | Snyk | af854a3a-2127-422b-91ae-364da2661108 | snyk.io | Exploit, Third Party Advisory |
| CVE-2021-23369 Node.js Vulnerability in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| fix: check prototype property access in strict-mode (#1736) · handlebars-lang/handlebars.js@b6d3de7 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch, Third Party Advisory |
| Remote Code Execution (RCE) in handlebars | Snyk | af854a3a-2127-422b-91ae-364da2661108 | snyk.io | Exploit, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Francois Lajeunesse-Robert (en)