SEPTEMBER 14, 2026
Live Feed
Back to database
Case File

CVE-2026-87123

MEDIUM · CVSS 5.9 EPSS 0.26% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-09-11 · Last synced 2026-09-14

CyberRota Analysis

AI-Generated

The hbs view engine version 4.3.0 is vulnerable to a TypeError that can crash the Node.js process during output escaping when an async helper resolves to an object with a truthy but non-callable toHTML property. This vulnerability can be exploited remotely, potentially leading to service disruptions. Users of hbs 4.3.0 should prioritize upgrading to version 4.3.1 or later to mitigate this risk.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

GitHub PoC Links

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-87123
Severity
MEDIUM
CVSS
5.9
EPSS
0.26%

Original NVD 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.