CVE-2026-16231: hbs is an Express view engine that wraps Handlebars
CVE-2026-16231 is a high-severity flaw (CVSS 8.1) affecting hbs. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
hbs is an Express view engine that wraps Handlebars. Its registerAsyncHelper API bypasses Handlebars' automatic HTML escaping: an async helper returns an opaque placeholder during the first render pass, so the double-brace expression escapes only the placeholder, and after rendering hbs substitutes the placeholder with the raw callback return value without escaping it, across the cached, uncached, and layout render paths. An application that pass
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 66%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2026-08-25 |
| Last modified | 2026-10-06 |
Last updated 2026-10-06 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-16231?
hbs: upgrade to 4.3.0. Exact commands for each OS are on this page.
Is CVE-2026-16231 being exploited?
CVE-2026-16231 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-16231 affect?
CVE-2026-16231 affects hbs. Severity is high (CVSS 8.1). hbs is an Express view engine that wraps Handlebars. Its registerAsyncHelper API bypasses Handlebars' automatic HTML escaping: an async helper returns an opaque placeholder during the first render pass, so the double-brace expression escape
How urgent is CVE-2026-16231?
Priority 37/100. High severity