Search for vulnerabilities
| Vulnerability ID | VCID-dy2t-qdtz-d3a1 |
| Aliases |
GHSA-458j-xx4x-4375
|
| Summary | hono Improperly Handles JSX Attribute Names Allows HTML Injection in hono/jsx SSR ## Summary Improper handling of JSX attribute names in hono/jsx allows malformed attribute keys to corrupt the generated HTML output. When untrusted input is used as attribute keys during server-side rendering, specially crafted keys can break out of attribute or tag boundaries and inject unintended HTML. ## Details When rendering JSX elements to HTML strings, attribute values are escaped, but attribute names (keys) were previously inserted into the output without validation. If an attribute name contains characters such as `"`, `>`, or whitespace, it can alter the structure of the generated HTML. For example, malformed attribute names can: * Break out of the current attribute and introduce unintended additional attributes * Break out of the current HTML tag and inject new elements into the output This issue arises when untrusted input (such as query parameters or form data) is used as JSX attribute keys during server-side rendering. ## Impact An attacker who can control attribute keys used in JSX rendering may inject unintended attributes or HTML elements into the generated output. This may lead to: * Injection of unexpected HTML attributes * Corruption of the HTML structure * Potential cross-site scripting (XSS) if combined with unsafe usage patterns This issue affects applications that pass untrusted input as JSX attribute keys during server-side rendering. |
| Status | Published |
| Exploitability | None |
| Weighted Severity | None |
| Risk | None |
| Affected and Fixed Packages | Package Details |
| System | Score | Found at |
|---|---|---|
| cvssv3.1_qr | MODERATE | https://github.com/advisories/GHSA-458j-xx4x-4375 |
| cvssv3.1 | 4.3 | https://github.com/honojs/hono |
| generic_textual | MODERATE | https://github.com/honojs/hono |
| cvssv3.1 | 4.3 | https://github.com/honojs/hono/security/advisories/GHSA-458j-xx4x-4375 |
| cvssv3.1_qr | MODERATE | https://github.com/honojs/hono/security/advisories/GHSA-458j-xx4x-4375 |
| generic_textual | MODERATE | https://github.com/honojs/hono/security/advisories/GHSA-458j-xx4x-4375 |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/honojs/hono | ||
| https://github.com/honojs/hono/security/advisories/GHSA-458j-xx4x-4375 | ||
| GHSA-458j-xx4x-4375 | https://github.com/advisories/GHSA-458j-xx4x-4375 |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
No EPSS data available for this vulnerability.
| Date | Actor | Action | Source | VulnerableCode Version |
|---|---|---|---|---|
| 2026-06-12T07:46:27.580315+00:00 | GithubOSV Importer | Import | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-458j-xx4x-4375/GHSA-458j-xx4x-4375.json | 38.6.0 |