CVE-2026-59895
Description
Hono is a Web application framework that provides support for any JavaScript runtime. From 4.0.0 before 4.12.27, cx() in hono/css composes class names from plain strings but marks the result as already escaped without HTML-escaping the input, allowing untrusted className values used in a JSX class attribute during server-side rendering to break out of the attribute and inject arbitrary markup. This issue is fixed in version 4.12.27.
How to fix
- hono hono4.12.27 or later
- hono4.12.27 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hono hono | 4.0.0 ≤ v < 4.12.27 | 4.12.27 |
| hononpm | 4.0.0 ≤ v < 4.12.27 | 4.12.27 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.