CVE-2021-23369
CVSS v3
9.8
CRITICAL
EPSS Score
7.0 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for handlebars.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- handlebarsnpmall versions · fixed in 4.7.7
- org.webjars:handlebarsMavenall versions · fixed in 4.7.7and 2 other packages
Vendor advisories
nodejs-handlebars: Remote code execution when compiling untrusted compile templates with strict:true option
servicemesh-grafana as a component of OpenShift Service Mesh 2.0 · servicemesh-grafana-prometheus as a component of OpenShift Service Mesh 2.0 · servicemesh-grafana.src as a component of OpenShift Service Mesh 2.0
Red Hat Security Advisory: Red Hat Process Automation Manager 7.13.2 security update
Red Hat Security Advisory: Openshift Logging 5.2.3 bug fix and security update
Red Hat Security Advisory: Openshift Logging 5.1.4 bug fix and security update
Red Hat Security Advisory: Red Hat OpenShift Enterprise security and bug fix update
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.
Technical details
- Published
- 2021-04-12
Frequently asked questions
What is CVE-2021-23369?
Is CVE-2021-23369 actively exploited?
What is the CVSS score for CVE-2021-23369?
Running handlebars? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2021-23383same product
- CVE-2019-20920same product
- CVE-2026-106446same productHandlebars: JavaScript Injection via AST Type Confusion in compile (Program.blockParams)
- CVE-2026-106444same productHandlebars: JavaScript Injection via Unsafe Inline Embedding of Precompiled Templates
- CVE-2021-26291same advisory
- CVE-2021-3493KEVsame week
- CVE-2020-2509KEVsame week
- CVE-2021-26812same week