Cross-site scripting in hono - CVE-2026-59895
Published: July 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary script in the victim's browser.
The vulnerability exists due to improper neutralization of input during web page generation in the cx() utility in hono/css when rendering JSX class attributes during server-side rendering with untrusted input. A remote attacker can supply a crafted class name value to inject arbitrary markup and execute arbitrary script in the victim's browser.
Applications are affected only if they render JSX server-side and pass untrusted input as a class name to cx(). User interaction is required for a victim to load the rendered page.