CVE-2021-32817: express-hbs is an Express handlebars template engine
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.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
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
- CVE-2021-32820 HIGH 8.6 UPGRADE Express-handlebars is a Handlebars view engine for Express