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.
{ "nvd_published_at": "2021-05-14T19:15:00Z", "cwe_ids": [ "CWE-200", "CWE-94" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2021-05-17T19:09:07Z" }