# CVE-2021-23369: Remote Code Execution (RCE)

- Severity: Medium 5.6 (CVSS:3.1, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 7.03%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2021-04-12T13:10:28.403Z
- Modified: 2026-10-08T22:17:07.613Z
- Also known as: GHSA-f2jv-r9rf-7988
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- handlebars: from unspecified before 4.7.7
- handlebars (npm): before 4.7.7
- org.webjars:handlebars (Maven): before 4.7.7
- org.webjars.npm:handlebars (Maven): before 4.7.7
- org.webjars.bowergithub.wycats:handlebars.js (Maven): before 4.7.7
- handlebarsjs handlebars: before 4.7.7

## Every score

- snyk: CVSS:3.1 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`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952> (exploit, third-party-advisory, web)
- <https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8> (patch, third-party-advisory, web)
- <https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427> (patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20210604-0008/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23369> (advisory)
- <https://github.com/wycats/handlebars.js> (package)
- <https://security.netapp.com/advisory/ntap-20210604-0008> (web)

## Sources

- CVE List: [CVE-2021-23369](https://www.cve.org/CVERecord?id=CVE-2021-23369), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-f2jv-r9rf-7988](https://github.com/advisories/GHSA-f2jv-r9rf-7988), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2021-23369](https://nvd.nist.gov/vuln/detail/CVE-2021-23369), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2021-23369 · Whole record: https://cve.day/CVE-2021-23369.json · Rebuilt by cve.day 2026-11-25T22:58:00.706Z
