Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request with crafted attribute key payload
-
DeliveryApplication passes untrusted key to hono/jsx SSR renderer
-
ExploitSerializer inserts key verbatim into HTML output
-
ExecutionMalformed characters break HTML tag boundary
-
PersistInjected HTML delivered to victim's browser
-
ImpactVictim loads page triggering injected script execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application explicitly passes untrusted external input - such as HTTP query parameters, URL path components, request headers, or form data - as JSX attribute name keys (not values) during server-side rendering in hono/jsx. This is a non-default usage pattern; standard Hono applications using static attribute names in JSX templates are not affected. The CVSS PR:N metric confirms no authentication is required on the attacker side - any user who can send an HTTP request may supply the malicious key. However, UI:P confirms a separate victim user must load the generated page for XSS impact to be realized. Exploitation is further limited to versions of hono prior to 4.12.14; deployment of the patched version fully eliminates the condition regardless of application code patterns. |
| Impact | The CVSS 4.0 score of 5.3 (AV:N/AC:L/AT:N/PR:N/UI:P) reflects a moderately impactful vulnerability that is constrained by two significant factors: user interaction (UI:P, meaning a victim must load the injected page) and a prerequisite application-level anti-pattern (passing externally-sourced values as JSX attribute keys). The VI:L integrity rating correctly captures HTML structure corruption rather than full code execution at the server layer. Real-world risk is therefore tiered: applications that inadvertently use request-controlled data as attribute keys are meaningfully exposed, while those using only static attribute names are entirely unaffected. No EPSS data was available in the provided intelligence, so exploitation probability cannot be quantified. No CISA KEV listing and no confirmed POC exist, further reducing urgency. SSVC signals suggest low automatable exploitation potential given the application-specific prerequisite. The risk is real but not broadly systemic - security teams should audit whether their Hono-based applications pass external input as attribute keys before treating this as a critical priority. |
| Exploit ScenarioDerived | An attacker crafts an HTTP request to a Hono application that includes a malicious value in a query parameter or form field, which the application code then uses as a JSX attribute key during server-side rendering - for example, rendering |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 24, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Hono gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
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
1DescriptionCVE.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.
Blast Radius
ecosystem impact- 31 npm packages depend on hono (28 direct, 3 indirect)
Ecosystem-wide dependent count for version 4.12.14.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Improper authorization in Hono's JWT Auth Middleware (hono/jwt in the npm package 'hono', versions 1.1.0 through 4.10.1)
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
RegExpRouter - the router Hono's default SmartRouter selects for most applications - fails to apply wildcard middleware
Quadratic-complexity denial of service in Hono's `languageDetector` middleware (versions 4.12.0-4.12.33) allows unauthen
Path prefix stripping in Hono's app.mount() API exposes mounted sub-applications to incorrect routing due to a raw-vs-de
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]
EUVD-2026-38757
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB