CVE-2026-59895
hono: Hono: Arbitrary markup injection via improper handling of class names in server-side rendering.
Overview
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.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79, CWE-116
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | hono | >=4.0.0, <4.12.27 | 4.12.27 |
Open a package to see all its vulnerabilities.
Operating systems · 19 fixes
chainguard 1 release · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| librechat | 0.8.7-r5 | |
| commercial-gitlab-rails-ee-19-1 | 19.1.7-r3 | |
| commercial-gitlab-rails-ee-fips-19-1 | 19.1.9-r0 | |
| commercial-gitlab-rails-ee-19-2 +1 | 19.2.7-r1 | |
| commercial-gitlab-rails-ee-19-3 +1 | 19.3.3-r1 | |
| commercial-gitlab-rails-ee-19-4 +1 | 19.4.1-r1 |
3 more rows
minimos 1 release · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| n8n | 2.32.5-r0 | |
| mcp-memory | 2026.7.4-r0 | |
| openclaw | 2026.8.1-r0 | |
| mcp-filesystem | 2026.8.18-r0 | |
| mcp-mongodb | 3.1.0-r0 | |
| langfuse-3 | 3.224.1-r0 |
3 more rows
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| langfuse-3 | 3.225.7-r6 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-59895
- github.com https://github.com/honojs/hono
- github.com https://github.com/honojs/hono/commit/cd3f6f7194f0e5c9d4b26ae0cf232018d0f388fc
- github.com https://github.com/honojs/hono/releases/tag/v4.12.27
- github.com https://github.com/honojs/hono/security/advisories/GHSA-w62v-xxxg-mg59
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-59895
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-59895
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.