Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-32817: express-hbs is an Express handlebars template engine

46
This week
MEDIUM 5.4REMOTEUPGRADE

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

express-hbs is an Express handlebars template engine. express-hbs 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 have .hbs ap

Why this priority

  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score5.4 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance1.3% (top 30%)
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"
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-32817?

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

Is CVE-2021-32817 being exploited?

CVE-2021-32817 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-32817 affect?

CVE-2021-32817 affects express handlebars. Severity is medium (CVSS 5.4). express-hbs is an Express handlebars template engine. express-hbs mixes pure template data with engine configuration options through the Express render API. More specifically, the layout parameter may trigger file disclosure vulnerabilities

How urgent is CVE-2021-32817?

Priority 46/100. 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.