CVE-2026-16231 affects hbs, an Express view engine wrapping Handlebars, versions 2.1.0 through 4.2.1. The vulnerability exists in the registerAsyncHelper API, which bypasses Handlebars' automatic HTML escaping mechanism. During the first render pass, async helpers return an opaque placeholder that gets escaped, but the actual return value is substituted without escaping after rendering. This flaw affects cached, uncached, and layout render paths. Attackers can inject arbitrary HTML and JavaScript into server-rendered pages if attacker-controlled data is passed into async helper callbacks. The vulnerability enables both stored and reflected cross-site scripting (XSS) attacks. The issue is fixed in version 4.3.0, which properly HTML-escapes async helper output. Applications requiring raw HTML output can use hbs.SafeString to explicitly opt in. Users are strongly advised to upgrade to version 4.3.0 immediately.