CVE-2021-32817

MEDIUM

express-hbs < 5.3.2 - File Disclosure via Layout Parameter

Title source: llm
STIX 2.1

Description

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

Scores

CVSS v3 5.4
EPSS 0.0127
EPSS Percentile 66.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

Details

CWE
CWE-200 CWE-94
Status published
Products (2)
express_handlebars_project/express_handlebars < 5.3.2
npm/express-hbs 0npm
Published May 14, 2021
Tracked Since Feb 18, 2026