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.
- CVSS 3.1
- 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 7.0% chance of exploitation in the next 30 days; higher than 94% of CVEs (scores of 2026-10-25)
- Published
- Modified
- Record from
- the NVD, synced
Affected
- handlebarsjs:handlebars
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-f2jv-r9rf-7988 | npm | handlebars | <4.7.7 | 4.7.7 |
| GHSA-f2jv-r9rf-7988 | Maven | org.webjars:handlebars | <4.7.7 | 4.7.7 |
| GHSA-f2jv-r9rf-7988 | Maven | org.webjars.npm:handlebars | <4.7.7 | 4.7.7 |
| GHSA-f2jv-r9rf-7988 | Maven | org.webjars.bowergithub.wycats:handlebars.js | <4.7.7 | 4.7.7 |
References
- https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8
- https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427
- https://security.netapp.com/advisory/ntap-20210604-0008/
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951