PT-2026-56505 · Hono · Hono
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Hono versions 4.0.0 through 4.12.26
Description
The
cx() function in hono/css composes class names from plain strings but marks the result as already escaped without performing HTML-escaping on the input. This allows untrusted className values used in a JSX class attribute during server-side rendering to break out of the attribute and inject arbitrary markup.Recommendations
Update to version 4.12.27.
Exploit
Fix
XSS
Improper Encoding or Escaping of Output
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Hono