Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-32820: Express-handlebars is a Handlebars view engine for Express

64
This week
HIGH 8.6REMOTEUPGRADE

CVE-2021-32820 is a high-severity flaw (CVSS 8.6) affecting express handlebars. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Express-handlebars is a Handlebars view engine for Express. Express-handlebars mixes pure template data with engine configuration options through the Express render API. More specifically, the layout parameter may trigger file disclosure vulnerabilities in downstream applications. This potential vulnerability is somewhat restricted in that only files with existing extentions (i.e. file.extension) can be included, files that lack an extension will

Why this priority

  • High severity
  • EPSS top 3%: very likely to be exploited
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score8.6 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance15.7% (top 3%)
CISA exploited listNo
WeaknessCWE-200, CWE-94
Published2021-05-14
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: express handlebars project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

express handlebars project express handlebars UPGRADE
Affected: <= 5.3.2
Fixed in: newer than 5.3.2
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls express-handlebars
2. UPGRADE to newer than 5.3.2
npm install express-handlebars@">5.3.2"

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-32820?

express handlebars: upgrade to newer than 5.3.2. Exact commands for each OS are on this page.

Is CVE-2021-32820 being exploited?

CVE-2021-32820 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2021-32820 affect?

CVE-2021-32820 affects express handlebars. Severity is high (CVSS 8.6). Express-handlebars is a Handlebars view engine for Express. Express-handlebars mixes pure template data with engine configuration options through the Express render API. More specifically, the layout parameter may trigger file disclosure vu

How urgent is CVE-2021-32820?

Priority 64/100. High severity; EPSS top 3%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.