CVE-2026-87123
Last modified
CVE-2026-87123 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| hbs | hbs | >= 4.3.0, < 4.3.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-87123?
How severe is CVE-2026-87123?
How do I fix CVE-2026-87123?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-87116Tanium addressed a server-side request forgery vulnerability…6.5
- CVE-2026-87118The Botslab G980H dash camera firmware contains an out of bo…5.7
- CVE-2026-87119Authentication Bypass by Capture-replay in ZenHive mpp allow…8.2
- CVE-2026-8712Wyoming before 1.10.2 contains a server-side request forgery…8.3
- CVE-2026-87121lwIP TCP/IP Stack MQTT is vulnerable to an out-of-bounds wri…9.8
- CVE-2026-87122Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-87124Vulnerability in the Oracle iRecruitment product of Oracle E…7.7
- CVE-2026-87125Vulnerability in the Oracle Financials for Asia/Pacific prod…8.3
- CVE-2026-87126Vulnerability in the Oracle Report Manager product of Oracle…7.1
- CVE-2026-87127Vulnerability in the Oracle Purchasing product of Oracle E-B…7.7
- CVE-2026-87128Vulnerability in the Oracle Hyperion Data Relationship Manag…9.1
- CVE-2026-87129Vulnerability in the Oracle Hyperion Data Relationship Manag…9.1
Are you affected by CVE-2026-87123?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
