CVE-2026-59895 Hono: Server-Side XSS via JSX Escaping Bypass in cx() Utility
MediumCVSS 6.1
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
8 packages: 2 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/ansible-automation-platform-27/mcp-server-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-tech-preview/mcp-server-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/devspaces/code-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/mta/mta-solution-server-rhel9(Red Hat migration_toolkit_applications 8) | All versions | No fix listed | No fix yet |
| redhat/rhdh/rhdh-hub-rhel9(Red Hat rhdh 1) | All versions | No fix listed | No fix yet |
| hono | >= 4.0.0, < 4.12.27 | 4.12.27 | Fixed |
| npm hono(npm) | >= 4.0.0, < 4.12.27 | 4.12.27 | Fixed |
| honojs hono | = >= 4.0.0, < 4.12.27 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| honojs hono | = >= 4.0.0, < 4.12.27 | No fix listed |
| redhat/mta/mta-solution-server-rhel9(Red Hat:migration_toolkit_applications:8) | All versions | No fix listed |
| redhat/ansible-automation-platform-27/mcp-server-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-tech-preview/mcp-server-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9(Red Hat:rhdh:1) | All versions | No fix listed |
| redhat/devspaces/code-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| npm hono(npm) | >= 4.0.0, < 4.12.27 | 4.12.27 |
| hono | >= 4.0.0, < 4.12.27 | 4.12.27 |
References
- https://github.com/honojs/hono/security/advisories/GHSA-w62v-xxxg-mg59 vendor-advisory
- https://github.com/honojs/hono/commit/cd3f6f7194f0e5c9d4b26ae0cf232018d0f388fc patch
- https://github.com/honojs/hono/releases/tag/v4.12.27 release-notes
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2498151 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product