๐Ÿ” CVE Alert

CVE-2026-87123

MEDIUM 5.9

hbs vulnerable to Denial of Service via unhandled exception in async helper output escaping

CVSS Score
5.9
EPSS Score
0.0%
EPSS Percentile
0th

hbs is an Express view engine wrapper for Handlebars. Version 4.3.0 can crash the Node.js process during output escaping when an async helper, registered with registerAsyncHelper, resolves to an object whose toHTML property is truthy but not callable. Handlebars escapeExpression calls the toHTML method on any value that has a truthy toHTML, so such a value throws a TypeError, and because the async substitution runs on a later tick outside the render function's try/catch, the throw is an uncaught exception that terminates the process without sending a response. Only version 4.3.0 is affected, since the throwing escape was introduced by the fix for CVE-2026-16231 and earlier versions do not escape async helper values. It can be triggered remotely when an async helper resolves to an externally influenced object such as parsed JSON. The issue is fixed in hbs 4.3.1, and users should upgrade to hbs 4.3.1 or later.

CWE CWE-248
Vendor hbs
Product hbs
Published Sep 11, 2026
Last Updated Sep 11, 2026
Stay Ahead of the Next One

Get instant alerts for hbs hbs

Be the first to know when new medium vulnerabilities affecting hbs hbs are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

hbs / hbs
4.3.0 < 4.3.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/pillarjs/hbs/security/advisories/GHSA-3c55-w9jx-p5jr cna.openjsf.org: https://cna.openjsf.org/security-advisories.html

Credits

๐Ÿ” mfdebian UlisesGascon bjohansebas official-burak