CVE-2026-56761

hono - HTML Injection via Improper JSX Attribute Name Handling in SSR

Published Jun 24, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A flaw in Hono’s server‑side rendering of JSX allows attackers to craft malformed attribute names that contain characters such as quotes or angle brackets. By sending a specially constructed request, an attacker can break out of a legitimate HTML tag boundary and insert arbitrary attributes or even new elements, resulting in unintended HTML content or JavaScript execution within the rendered page. The weakness is a classic cross‑site scripting issue (CWE‑79).

Affected Systems

The vulnerability affects the Hono framework before version 4.12.14. Any deployment of Hono 4.12.13 or earlier, regardless of the underlying Node.js version, is susceptible to HTML injection via its JSX SSR feature.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. EPSS information is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote, via crafted HTTP requests to endpoints that use Hono’s JSX SSR. Exploitation requires an attacker to control or influence the attribute key in a JSX template rendered on the server.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Hono to version 4.12.14 or later to eliminate the flaw.
  • If upgrading is not immediately possible, validate or escape any attribute names used in JSX SSR to prevent malicious characters.
  • Limit exposure of SSR endpoints and monitor for anomalous request patterns that could indicate attempts to inject malformed attribute names.

Generated by OpenCVE AI on June 24, 2026 at 13:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-458j-xx4x-4375 hono Improperly Handles JSX Attribute Names Allows HTML Injection in hono/jsx SSR
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title hono - HTML Injection via Improper JSX Attribute Name Handling in SSR
First Time appeared Hono
Hono hono
Weaknesses CWE-79
CPEs cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*
Vendors & Products Hono
Hono hono
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jun 24, 2026, 12:18 PM
Reserved
Jun 22, 2026, 9:55 PM
Status
Analyzed
Published
Jun 24, 2026, 1:16 PM
Modified
Oct 25, 2026, 11:10 PM