Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted HTTP request with shaped JSON body
-
DeliveryAsync Handlebars helper resolves to attacker-controlled object
-
ExploitHandlebars escapeExpression calls non-callable toHTML property
-
ExecutionTypeError thrown outside render try/catch
-
PersistUncaught exception terminates Node.js process
-
ImpactService unavailable
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | Exploitation requires three concurrent conditions: (1) the application must be running exactly hbs 4.3.0 - no other version is affected; (2) at least one Handlebars helper must be registered using |
| Impact | The CVSS 3.1 vector AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H yields a base score of 5.9, which reflects an exclusively availability impact with high attack complexity. The AC:H assignment is well-justified: exploitation requires that (a) the application uses |
| Exploit ScenarioDerived | An attacker sends an HTTP request to an Express application running hbs 4.3.0 that causes an async Handlebars helper to resolve with attacker-shaped JSON - for instance, a body containing |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 11, 2026
Uncaught TypeError in hbs 4.3.0 crashes the Node.js process when an async Handlebars helper resolves to an object with a truthy but non-callable toHTML property. Handlebars' escapeExpression unconditionally invokes toHTML() on any value that exposes it; because async helper substitution executes on a later event-loop tick, the resulting TypeError falls outside the render function's try/catch and becomes a fatal uncaught exception, terminating the entire process without sending a response. The flaw is remotely triggerable when the async helper's resolved value is influenced by attacker-controlled input such as parsed JSON. No public exploit code has been identified at time of analysis, and the issue is fixed in hbs 4.3.1.
RemediationAI
Upgrade to hbs 4.3.1 or later, which is the vendor-released patch. Because only 4.3.0 is affected, deployments running 4.2.x or any earlier release are not vulnerable and do not need to act. If an immediate upgrade is not possible, a short-term workaround is to avoid registering async helpers that resolve to externally-supplied objects without first sanitising the resolved value to ensure toHTML is absent or callable; wrapping the resolved value in a plain scalar or a proper Handlebars SafeString before returning it prevents the TypeError. Applications that do not use registerAsyncHelper at all are not affected by this path regardless of version.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
hbs is an npm package that wraps Handlebars as an Express view engine. Handlebars' escapeExpression helper applies HTML-escape logic and, as a convenience, calls .toHTML() on any value whose toHTML property is truthy, assuming it is a safe-string wrapper. Async helpers registered via registerAsyncHelper execute their resolution callback on a subsequent event-loop tick; any exception thrown at that point is outside the synchronous try/catch that guards the render pipeline, making it an uncaught process-level exception under Node.js. CWE-248 (Uncaught Exception) captures this root cause precisely. The vulnerable behaviour was introduced specifically in 4.3.0 as a side-effect of the patch for CVE-2026-16231, which added escaping for async helper output; prior versions never escaped async values and are therefore unaffected.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Network reachable but AC:H due to narrow preconditions (registerAsyncHelper plus externally-shaped object with truthy non-callable toHTML); pure availability impact only.
Primary rating from Vendor (ce714d77-add3-4f53-aff5-83d477b104bb).
CVSS VectorVendor: ce714d77-add3-4f53-aff5-83d477b104bb
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-76029
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB