Skip to main content

Hono CVE-2026-56761

| EUVDEUVD-2026-38757 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-24 VulnCheck
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send HTTP request with crafted attribute key payload
  2. Delivery
    Application passes untrusted key to hono/jsx SSR renderer
  3. Exploit
    Serializer inserts key verbatim into HTML output
  4. Execution
    Malformed characters break HTML tag boundary
  5. Persist
    Injected HTML delivered to victim's browser
  6. Impact
    Victim 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 <div {userInput}="value"> where userInput is class="evil" onclick="alert(1)" x. Hono's unpatched SSR serializer inserts the key verbatim, producing <div class="evil" onclick="alert(1)" x="value"> in the HTML response. When a victim user loads the page, the injected event handler executes in their browser context.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

hono 0 <4.12.14

Affected Packages

npm hono fix: 4.12.14

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

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 24, 2026 - 13:01 EUVD

DescriptionCVE.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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
popular edge-runtime TypeScript framework, growing but not ubiquitous enterprise footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Hono

View all
CVE-2025-62610 HIGH POC
8.1 Oct 22

Improper authorization in Hono's JWT Auth Middleware (hono/jwt in the npm package 'hono', versions 1.1.0 through 4.10.1)

CVE-2024-32652 HIGH POC
7.5 Apr 19

The adapter @hono/node-server allows you to run your Hono application on Node.js. Rated high severity (CVSS 7.5), this v

CVE-2024-48913 MEDIUM POC
5.9 Oct 15

Hono, a web framework, prior to version 4.6.5 is vulnerable to bypass of cross-site request forgery (CSRF) middleware by

CVE-2026-126358 MEDIUM POC
5.3 Nov 12

RegExpRouter - the router Hono's default SmartRouter selects for most applications - fails to apply wildcard middleware

CVE-2026-71848 MEDIUM POC
5.3 Aug 07

Quadratic-complexity denial of service in Hono's `languageDetector` middleware (versions 4.12.0-4.12.33) allows unauthen

CVE-2026-47676 MEDIUM POC
5.3 May 28

Path prefix stripping in Hono's app.mount() API exposes mounted sub-applications to incorrect routing due to a raw-vs-de

CVE-2024-32869 MEDIUM POC
5.3 Apr 23

Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.3),

CVE-2024-23340 MEDIUM POC
5.3 Jan 22

@hono/node-server is an adapter that allows users to run Hono applications on Node.js. Rated medium severity (CVSS 5.3),

CVE-2024-43787 MEDIUM POC
5.0 Aug 22

Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.0),

CVE-2026-71850 MEDIUM POC
4.8 Aug 07

Cross-user HTML disclosure in Hono's server-side rendering affects all applications using hono/jsx with memo()-wrapped c

CVE-2023-50710 MEDIUM POC
4.3 Dec 14

Hono is a web framework written in TypeScript. Rated medium severity (CVSS 4.3), this vulnerability is remotely exploita

CVE-2026-27700 HIGH
8.2 Feb 25

Hono is a Web application framework that provides support for any JavaScript runtime. [CVSS 8.2 HIGH]

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy