CVE-2021-23369: handlebarsjs handlebars
Vulnerability summary
CVE-2021-23369 is a critical (CVSS 9.8) vulnerability in handlebarsjs handlebars. EPSS estimates a 7.03% chance of exploitation in the next 30 days, higher than 94.1% of scored vulnerabilities. 4 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 11Timeline
- 12-04-2021PublishedVulnerability first disclosed.
- 08-10-2026Last modifiedVulnerability information updated.
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 metrics
9 scores · 8 sources · 2 versions- CVE.orgCNA5.6MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:CDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · NpmEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · MavenEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
7.03%
Chance of exploitation in the next 30 days
Percentile
94%
Versus all other CVEs
30-day change
0.00 pp
From 7.03% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
4 foundExploit Reference (snyk.io)
Maturity: unknown
Exploit Reference (snyk.io)
Maturity: unknown
Exploit Reference (snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Chainguard71 products
- code-serverAll versions (No fix recorded)
- code-server-compatAll versions (No fix recorded)
- commercial-gitlab-rails-ee-assets-19.1All versions (No fix recorded)
- commercial-gitlab-rails-ee-assets-19.2All versions (No fix recorded)
- commercial-gitlab-rails-ee-assets-19.3All versions (No fix recorded)
Wolfi2 products
- code-serverAll versions (No fix recorded)
- code-server-compatAll versions (No fix recorded)
Debian1 product
- node-handlebars< 3:4.7.6+~4.1.0-2
Handlebarsjs1 product
- handlebars< 4.7.7
Npm1 product
- handlebars< 4.7.7
Org.webjars1 product
- handlebars< 4.7.7
Org.webjars.bowergithub.wycats1 product
- handlebars.js< 4.7.7
Org.webjars.npm1 product
- handlebars< 4.7.7
Ubuntu1 product
- node-handlebarsAll versions (No fix recorded)
9 vendors · 80 products
References
13 links- snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950X Refsource MISCREPORTEVIDENCEWEBExploitThird Party Advisory
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951X Refsource MISCREPORTEVIDENCEWEBExploitThird Party Advisory
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952X Refsource MISCREPORTEVIDENCEWEBExploitThird Party Advisory
- github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8X Refsource MISCREPORTFIXWEBPatchThird Party Advisory
- github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427X Refsource MISCREPORTFIXWEBPatchThird Party Advisory