LIVE · cybersecurity feed
Live wire
cve recordhigh

CVE-2026-16231

hbs project · hbs

Published
CVSS8.1
Severityhigh
WeaknessCWE-79
ExploitedNot in CISA KEV

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

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 scripti

References

← Back to the CVE Tracker

Our coverage of CVE-2026-16231

No stories yet. This page updates automatically when we publish reporting that references CVE-2026-16231.