GHSA-rwxp-hwwf-653v · Severity: medium · Ecosystem: npm — Insecure template handling in express-hbs
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.
Conclusion & alert: CVE-2021-32817 is rated High Exploit Risk (60.6/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.27%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.34% | 1.27% | +0.93% |
| 2 | 2026-01-05 | 0.48% | 0.34% | -0.14% |
| 3 | 2025-11-21 | — | 0.48% | — |
Full EPSS history (14 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.4 | 3.1 | MEDIUM |
|
2.2 | 2.7 | [email protected] |
| 6.8 | 3.1 | MEDIUM |
|
2.2 | 4.0 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-rwxp-hwwf-653v · Severity: medium · Ecosystem: npm — Insecure template handling in express-hbs
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| express_handlebars_project | express_handlebars | <= 5.3.2 | cpe:2.3:a:express_handlebars_project:express_handlebars:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/TryGhost/express-hbs#%EF%B8%8F-this-creates-a-potential-security-vulnerability | Release Notes Third Party Advisory |
| https://github.com/TryGhost/express-hbs/commit/ff6fad6e357699412d4e916273314e5e7af1500e | Patch Third Party Advisory |
| https://securitylab.github.com/advisories/GHSL-2021-019-express-hbs/ | Exploit Patch Third Party Advisory |
| https://www.npmjs.com/package/express-hbs | Product |