CVE-2026-59895

Hono: Server-Side XSS via JSX Escaping Bypass in cx() Utility

MEDIUM
6.1
CVSS Score
Published: July 8, 2026 at 04:09 PM UTC
Updated: October 25, 2026 at 05:10 PM UTC
2 products affected across 2 vendorsHonoHono

Using hono by honojs?

Get instant alerts when new vulnerabilities affect hono - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.0.0 ≤ v < 4.12.27
Affected range stops below 4.12.27, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.12.27, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_CONFIRMVendor Advisory
Source: cverecord
https://github.com/honojs/hono/security/advisories/GHSA-w62v-xxxg-mg59
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/honojs/hono/releases/tag/v4.12.27

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.1MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-79CWE-116

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card