MEDIUMVulnerability

CVE-2026-87123

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.

Properties

severity
MEDIUM
score
5.9
cve_id
CVE-2026-87123
signal_observed_at
2026-09-21T19:06:38+00:00
vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
published_at
2026-09-11T10:16:53.137
last_modified
2026-09-16T19:40:00.317

Related Entities (2)

DESCRIBED_BY (1)

[Source]NVD

HAS_WEAKNESS (1)

[Weakness]Uncaught Exception

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-87123 — Ninja Signal Threat Intelligence | Ninja Signal