{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-32822","published":"2021-08-16T19:15:14.083000Z","last_modified":"2026-06-17T03:53:42.127000Z","status":"Modified","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-538","CWE-94"],"cpes":[{"criteria":"cpe:2.3:a:hbs_project:hbs:-:*:*:*:*:node.js:*:*","part":"a","vendor":"hbs_project","product":"hbs"}],"cpes_truncated":false,"vendors":["hbs_project"],"products":["hbs_project/hbs"],"epss":{"score":0.00982,"percentile":0.61131,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-7f5c-rpf4-86p8","ecosystem":"npm","name":"hbs","purl":"pkg:npm/hbs","ranges":[{"introduced":"0","last_affected":"4.4.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2021-32822/","html_en":"/en/cve/CVE-2021-32822/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32822","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32822"},"untrusted":{"vendor_name":"Hbs Project","product_name":"Hbs","desc_en":"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.","affected":[{"untrusted_vendor":"pillarjs","untrusted_product":"hbs","versions":[]}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2021-020-pillarjs-hbs/","tags":["Exploit","Third Party Advisory"]}]}}