Read the docs
TI-2021-12485 Aliases CVE-2021-32820GHSA-fr76-2wp8-fp92

File disclosure in Express Handlebars

Priority MEDIUM 53CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure, Code execution
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-200 and CWE-94.

Summary

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 have .handlebars appended to them. For complete details refer to the referenced GHSL-2021-018 report. Notes in documentation have been added to help users avoid this potential information exposure vulnerability.

Why it matters now

EPSS 0.15743 96th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed express-handlebars (npm): 5.3.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
express-handlebarsexpress-handlebarsup to 5.3.2—No fix listedCNA
—express-handlebars (npm)before 5.3.15.3.1Patch availableGHSA-fr76-2wp8-fp92
  • express-handlebars Vendorexpress-handlebars Affected up to 5.3.2 Fixed in — No fix listed CNA
  • express-handlebars (npm) Vendor— Affected before 5.3.1 Fixed in 5.3.1 Patch available GHSA-fr76-2wp8-fp92

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:express_handlebars_project:express_handlebars:*:*:*:*:*:node.js:*:*up to 5.3.2VulnerableExpress Handlebars Project
  • cpe:2.3:a:express_handlebars_project:express_handlebars:*:*:*:*:*:node.js:*:* Versions up to 5.3.2 Vulnerable ·Express Handlebars Project

Remediation

  • Fix · GHSA-fr76-2wp8-fp92 express-handlebars (npm) Fixed in 5.3.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-32820
  2. 2026-10-03 Alias added: GHSA-fr76-2wp8-fp92

References

Sources