{"id":"CVE-2026-59895","revision":"4e0b198b33e842f99d546d081bdb0958","records":[{"revision":"4e0b198b33e842f99d546d081bdb0958","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-59895","aliases":[],"title":"Hono: Server-Side XSS via JSX Escaping Bypass in cx() Utility","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.","state":0,"publishedAt":"2026-07-08T16:09:51.273+00:00","modifiedAt":"2026-07-08T19:41:04.292+00:00","affected":[{"ecosystem":"Vendor product","name":"hono","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"honojs\",\n                    \"product\": \"hono\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 4.0.0, < 4.12.27\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"severity":"MEDIUM"}],"references":["https://github.com/honojs/hono/security/advisories/GHSA-w62v-xxxg-mg59","https://github.com/honojs/hono/commit/cd3f6f7194f0e5c9d4b26ae0cf232018d0f388fc","https://github.com/honojs/hono/releases/tag/v4.12.27"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-59895","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-59895","identifiers":["CVE-2026-59895"]},"retained":false,"historicalAffected":[]}],"coverage":[]}