CVE-2026-59895

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductHono
PublishedJul 8, 2026
First seenJul 8, 2026

How to fix

Update
  • hono hono4.12.27 or later
  • hono4.12.27 or later

Affected products

ProductAffected versionsFixed in
hono hono4.0.0 ≤ v < 4.12.274.12.27
hononpm4.0.0 ≤ v < 4.12.274.12.27

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.