hono/jsx CVE-2026-44455
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker crafts malicious tag name
-
DeliverySubmits tag via query parameter or POST field
-
ExploitApplication receives untrusted input
-
InstallCode passes input directly to jsx() or createElement() API
-
C2Hono renders unvalidated tag name into HTML output
-
ExecuteInjected HTML breaks element structure and inserts malicious elements
-
ImpactUser views rendered page
-
Step 8Malicious HTML executes in user's browser context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | The vulnerability requires all of the following: (1) the application must use the |
| Impact | CVSS 4.7 with network vector and low-to-medium attack complexity (AC:H, UI:R) indicates this requires specific conditions: the application must dynamically construct JSX tag names from untrusted input AND users must view the rendered output. The scope is marked as changed (scope:C), meaning the impact crosses trust boundaries. However, the lack of authentication requirement (PR:N) and network accessibility (AV:N) are offset by mandatory user interaction (UI:R) and high attack complexity. This is a conditional vulnerability: applications using only static tag names or strict allowlists are unaffected entirely. The confidentiality and integrity impacts are low (C:L, I:L), suggesting limited data theft or modification per attack. Real-world risk depends on application architecture-typical web applications accepting user-supplied data in templates are vulnerable, but those treating tag names as trusted logic are not. No EPSS score provided; exploitation requires developer error in code design, not a network service misconfiguration. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 07, 2026
HTML injection via unvalidated JSX tag names in hono allows attackers to inject arbitrary HTML elements and attributes when untrusted input is used as tag names during server-side rendering. The vulnerability affects hono versions prior to 4.12.16 when the jsx() or createElement() APIs process attacker-controlled tag names, potentially enabling XSS attacks. User interaction (rendering untrusted content) is required, and the issue is limited to applications that dynamically construct tag names from external sources rather than using static or allowlisted tags.
RemediationAI
Upgrade hono to version 4.12.16 or later immediately. Users can verify their installed version with npm list hono or check package-lock.json. If immediate upgrade is blocked, implement input validation by maintaining an allowlist of permitted tag names before passing them to jsx() or createElement() APIs-explicitly reject any dynamic tag name that is not in a predefined set of safe HTML elements (e.g., only permit 'div', 'span', 'p', 'a', etc.). Alternatively, refactor code to use static JSX syntax rather than programmatic APIs when rendering user-influenced content. Review application code for instances where tag names originate from query parameters, database fields, user input, or external APIs, and replace with static tags or strict validation. These workarounds have a functional trade-off: they reduce flexibility but eliminate the injection vector.
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 web framework for JavaScript/TypeScript with built-in JSX support for server-side rendering. The vulnerability exists in the JSX-to-HTML transpilation layer (CWE-74: Improper Neutralization of Special Elements used in an Output). While attribute values and names undergo escaping and validation during HTML generation, tag names themselves were directly concatenated into the output HTML without sanitization. When a tag name contains metacharacters like angle brackets, quotes, or whitespace, it can alter the HTML document structure by prematurely closing tags or injecting new elements. The issue is specific to programmatic APIs (jsx() and createElement()) that accept dynamic tag names, not to JSX syntax parsing itself.
Know when the next one hits your stack
- 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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
Summary
Improper handling of JSX element tag names in hono/jsx allowed unvalidated tag names to be directly inserted into the generated HTML output.
When untrusted input is used as a tag name via the programmatic jsx() or createElement() APIs during server-side rendering, specially crafted values may break out of the intended element context and inject unintended HTML.
Details
When rendering JSX elements to HTML strings, attribute values are escaped and attribute names are validated. However, element tag names were previously inserted into the output without validation.
If a tag name contains characters such as <, >, quotes, or whitespace, it may alter the structure of the generated HTML.
For example, malformed tag names can:
- Break out of the intended element and introduce unintended HTML elements
- Inject attributes or event handlers into the rendered output
This issue arises when untrusted input (such as query parameters or database content) is used as JSX tag names via jsx() or createElement() during server-side rendering.
Impact
An attacker who can control tag names used in JSX rendering may inject unintended HTML into the generated output.
This may lead to:
- Injection of unexpected HTML elements or attributes
- Corruption of the HTML structure
- Cross-site scripting (XSS) when combined with unsafe usage patterns
This issue only affects applications that construct JSX tag names from untrusted input. Applications using static or allowlisted tag names are not affected.
Blast Radius
ecosystem impact- 52 npm packages depend on hono (15 direct, 37 indirect)
Ecosystem-wide dependent count for version 4.12.16.
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.
GHSA-69xw-7hcm-h432
NVD
CVE.org
EPSS
Exploit-DB