CVE-2021-32822

The npm hbs package is an Express view engine wrapper for Handlebars. Depending on usage, users of hbs may be vulnerable to a file disclosure vulnerability. There is currently no patch for this vulnerability. hbs mixes pure template data with engine configuration options through the Express render API. By overwriting internal configuration options a file disclosure vulnerability may be triggered in downstream applications. For an example PoC see the referenced GHSL-2021-020.
References
Configurations

Configuration 1

cpe:2.3:a:hbs_project:hbs:-:*:*:*:*:node.js:*:*

Information

Published : 2021-08-16 07:15

Updated : 2022-07-02 06:23


NVD link : CVE-2021-32822

Mitre link : CVE-2021-32822

Products Affected
No products.
CWE