Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-delivered, no auth needed (PR:N), but requires victim to load the page (UI:R); scope changes to browser context (S:C) enabling XSS with low C and I impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3Blast Radius
ecosystem impact- 31 npm packages depend on hono (28 direct, 3 indirect)
Ecosystem-wide dependent count for version 4.12.14.
DescriptionCVE.org
hono before 4.12.14 contains an html injection vulnerability in jsx server-side rendering that allows attackers to inject unintended html by using malformed attribute names. Attackers can craft specially crafted attribute keys containing characters like quotes or angle brackets to break html tag boundaries and inject arbitrary attributes or elements.
AnalysisAI
HTML injection in Hono's JSX server-side rendering engine (versions before 4.12.14) allows network-accessible attackers to corrupt rendered HTML output by supplying malformed attribute names containing characters such as quotes or angle brackets. Applications that pass untrusted external input - query parameters, form data, or other user-controlled values - directly as JSX attribute keys during SSR are affected. No active exploitation has been confirmed and no public exploit code has been identified at time of analysis; however, successful exploitation against vulnerable application patterns can escalate to cross-site scripting if the injected HTML includes event handlers processed by the victim's browser.
Technical ContextAI
Hono is a lightweight TypeScript/JavaScript web framework targeting edge runtimes including Cloudflare Workers, Deno, and Bun, with widespread use via the npm registry (CPE: cpe:2.3:a:hono:hono:*:*:*:*:*:*:*:*). The hono/jsx subsystem renders JSX component trees into HTML strings for server-side delivery. The root cause, classified under CWE-79 (Improper Neutralization of Input During Web Page Generation - XSS), is an asymmetric sanitization defect: attribute values were properly escaped, but attribute name keys were inserted verbatim into the generated HTML without any character validation. Characters such as double quotes ("), right angle brackets (>), and whitespace carry structural significance in HTML serialization; when present in an attribute key position, they can terminate the current attribute context, inject additional attributes, or close the enclosing tag entirely and introduce sibling elements. This is a classic server-side template injection pattern manifesting in a JSX-to-HTML serializer rather than a traditional template engine.
RemediationAI
Upgrade the hono npm package to version 4.12.14 or later, which introduces attribute key validation during JSX-to-HTML serialization (npm install hono@4.12.14 or yarn add hono@4.12.14). This is the only confirmed fix; the vendor advisory at https://github.com/honojs/hono/security/advisories/GHSA-458j-xx4x-4375 confirms this release resolves the issue. As an immediate compensating control where patching is delayed, audit all SSR rendering code paths and ensure that no externally-sourced values (query parameters, path segments, headers, form fields, database-backed user content) are used as JSX attribute keys; restricting attribute keys to compile-time static strings eliminates the attack surface entirely with no functional trade-off. There is no known configuration-level workaround that preserves the ability to use dynamic attribute keys safely without the patch.
The adapter @hono/node-server allows you to run your Hono application on Node.js. Rated high severity (CVSS 7.5), this v
Hono, a web framework, prior to version 4.6.5 is vulnerable to bypass of cross-site request forgery (CSRF) middleware by
Quadratic-complexity denial of service in Hono's `languageDetector` middleware (versions 4.12.0-4.12.33) allows unauthen
Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.3),
@hono/node-server is an adapter that allows users to run Hono applications on Node.js. Rated medium severity (CVSS 5.3),
Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.0),
Cross-user HTML disclosure in Hono's server-side rendering affects all applications using hono/jsx with memo()-wrapped c
Hono is a web framework written in TypeScript. Rated medium severity (CVSS 4.3), this vulnerability is remotely exploita
Hono is a Web application framework that provides support for any JavaScript runtime. [CVSS 8.2 HIGH]
Hono versions before 4.11.4 allow JWT algorithm confusion attacks through improper algorithm validation in the JWK/JWKS
Hono before version 4.11.4 contains a JWT algorithm confusion vulnerability in its JWK/JWKS verification middleware that
Hono's `proxy()` function in the `hono/proxy` Proxy Helper leaks connection-scoped response headers to downstream client
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38757