MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-16231

hbs vulnerable to XSS via registerAsyncHelper output-escaping bypass

Not on CISA KEVCVSS 8.1 (v3.1)
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)