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.
Published: 2026-06-24
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Wed, 24 Jun 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 24 Jun 2026 12:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-24T12:18:01.059Z

Reserved: 2026-06-22T21:55:17.941Z

Link: CVE-2026-56761

cve-icon Vulnrichment

Updated: 2026-06-24T12:17:56.864Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T14:00:07Z

Weaknesses
  • CWE-79

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