Skip to main content
← All vulnerabilities
CVE-2026-59895GHSA-W62V-XXXG-MG59

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.12.27
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • honojs hono

    From 4.0.0 · fixed in 4.12.27

  • hononpm

    From 4.0.0 · fixed in 4.12.27

References 3

GitHub · honojs/hono