CVE-2026-16231Patch(hbs_project / hbs)

LOWCVSS 8.1 · HIGH

Signal is active with 3 mentions in latest observed window

Immediate actions

  • Patch hbs_project hbs systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD description

hbs is an Express view engine that wraps Handlebars. Its registerAsyncHelper API bypasses Handlebars' automatic HTML escaping: an async helper returns an opaque placeholder during the first render pass, so the double-brace expression escapes only the placeholder, and after rendering hbs substitutes the placeholder with the raw callback return value without escaping it, across the cached, uncached, and layout render paths. An application that passes attacker-influenced data, for example user-supplied content from a database, into an async helper callback can therefore have arbitrary HTML and JavaScript injected into the server-rendered page, resulting in stored or reflected cross-site scripting. Versions 2.1.0 through 4.2.1 are affected, and the issue is fixed in 4.3.0, which HTML-escapes async helper output. Applications that intentionally emit raw HTML from an async helper can opt in explicitly with hbs.SafeString. Users should upgrade to 4.3.0.

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-79

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

NONE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • hbs

Threat summary

  • Patch or workaround signal is available
  • 3 mentions across 1 observed day

What's happening

  • Patch or workaround mentioned in 2 signals
  • Technical details provided in 3 signals
  • Disclosure: 1 classified signal
  • 3 total mentions across 1 day

Affected systems

Products
hbs

Deep dive

Activity timeline3 mentions / 1d
01223Mentions · 2026-08-25: 3Patch / Workaround · 2026-08-25: 2Technical Details · 2026-08-25: 308-25
Signal classification2 categories
Patch
266.7%
Disclosure
133.3%
Referenced assets2 URLs
Full discourse3 posts
  • Ulises Gascón@kom_256
    Patch

    🚨 High-severity security fix in hbs@4.3.0 just released! Patches CVE-2026-16231. XSS via registerAsyncHelper output-escaping bypass. https://github.com/pillarjs/hbs/security/advisories/GHSA-rg36-rxv9-2m9q

    Post summary

    The text announces the release of a high‑severity patch for CVE‑2026‑16231, detailing that the vulnerability is an XSS flaw in hbs and providing a link to the advisory.

    00010219
    5.5K followersView on X
  • Upwind Security MDR@UpwindMDR
    Patch

    🚨High - hbs registerAsyncHelper Output Escaping Bypass XSS (CVE-2026-16231) In hbs Express view engine, registerAsyncHelper() escapes only the initial placeholder during render, then substitutes the async helper return value into the template without HTML escaping. If attacker-controlled data reaches an async helper, arbitrary HTML/JS can be injected into responses (stored/reflected XSS). 👉Affected: hbs 2.1.0–4.2.1 | Upgrade to 4.3.0

    Post summary

    CVE-2026-16231 allows an output escaping bypass in hbs Express, enabling XSS; upgrading to version 4.3.0 resolves the issue.

    0000068
    294 followersView on X
  • CVE@CVEnew
    Disclosure

    CVE-2026-16231 hbs is an Express view engine that wraps Handlebars. Its registerAsyncHelper API bypasses Handlebars' automatic HTML escaping: an async helper returns an opaque place… https://www.cve.org/CVERecord?id=CVE-2026-16231

    Post summary

    The tweet announces CVE‑2026‑16231, noting that the hbs Express view engine’s registerAsyncHelper API bypasses Handlebars’ automatic HTML escaping, potentially enabling XSS, but provides no PoC, exploit code, or patch information.

    000001.2K
    58.0K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Apphbs_projecthbs-node.js-

Explore more