Skip to main content

Hono Framework EUVDEUVD-2026-32925

| CVE-2026-47675 MEDIUM
HTTP Response Splitting (CWE-113)
2026-05-28 GitHub_M GHSA-3hrh-pfw6-9m5x
5.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted sameSite/priority value to application
  2. Delivery
    Application passes unsanitized value to serialize()
  3. Exploit
    Inject arbitrary attributes into Set-Cookie header
  4. Execution
    Victim browser processes corrupted cookie response
  5. Impact
    Attacker manipulates victim session or cookie state

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTTP response header sanitization
Exploitation Conditions

Exploitation requires two concrete conditions to hold simultaneously. First, the Hono application must pass user-controlled input directly or indirectly into the sameSite or priority parameter of the hono/cookie serialize() function - this is not a default framework behavior but an application-level pattern where, for instance, a cookie preference or locale value from a query parameter is forwarded into cookie options without sanitization. Second, the CVSS vector specifies UI:R (user interaction required), meaning a victim user must make an HTTP request that triggers the vulnerable code path - purely server-side or automated API consumers are not affected in the same way. Exploitation is limited by the unchanged scope (S:U): the attacker cannot leverage this to escape to a different security domain. Authentication is not required per PR:N in the CVSS vector. The vulnerability does not exist on systems running Hono 4.12.21 or later, or where user input is allowlisted before reaching cookie option parameters.

Impact

CVSS 3.1 scores this at 4.3 (Medium) with vector AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N. The network attack vector and low complexity confirm the exploit is reachable over the internet without elevated privileges, but the required user interaction (UI:R) constrains real-world impact - the victim's browser must make a request that triggers the vulnerable code path with attacker-supplied data. Scope is unchanged (S:U) and impact is limited to integrity (I:L), with no confidentiality or availability consequences per CVSS. No EPSS data was supplied in the intelligence feed; given no KEV listing and no known public exploit code, opportunistic mass exploitation appears unlikely. The realistic risk concentrates on applications that explicitly reflect user-provided input (query parameters, form fields, path segments) into sameSite or priority cookie options - a non-default but plausible application pattern. The absence of a vendor advisory URL beyond the GitHub GHSA advisory limits independent verification of exploitability details.

Exploit ScenarioDerived

An attacker crafts a URL or form payload containing a malicious string such as 'None; Secure; Set-Cookie: session=attacker_value' and delivers it to a victim via phishing or a malicious link. When the victim's browser follows the link, the target application reflects the attacker-supplied value into the priority or sameSite option of a cookie being set via Hono's serialize(), producing a corrupted Set-Cookie header containing the injected attributes. No public proof-of-concept code exists at time of analysis, but the low complexity of the injection technique makes reproduction straightforward for a skilled attacker.

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

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

Alert me

AnalysisAIv1 – May 28, 2026

HTTP response header injection in Hono's cookie serialize() function allows unauthenticated remote attackers to inject arbitrary Set-Cookie attributes when an application passes user-controlled input into the sameSite or priority cookie options. All Hono releases prior to 4.12.21 are affected across every supported JavaScript runtime. No public exploit code exists at time of analysis, and the vulnerability is not listed in CISA KEV, though the low attack complexity and network-accessible vector make it exploitable wherever the affected code path is reachable by user-supplied data.

RemediationAI

The primary remediation is to upgrade Hono to version 4.12.21 or later, which extends input validation to the sameSite and priority options in serialize(). This is a vendor-released patch confirmed by GitHub Security Advisory GHSA-3hrh-pfw6-9m5x. For applications unable to upgrade immediately, the effective compensating control is to sanitize or allowlist user-controlled input before passing it to the sameSite or priority cookie options - for example, accepting only the RFC-defined string literals ('Strict', 'Lax', 'None' for sameSite; 'High', 'Medium', 'Low' for priority) and rejecting all other values. This eliminates the injection surface without requiring a framework upgrade, though it places the validation burden on application code and may be missed in future refactors. Review all call sites of serialize() to audit whether any option values derive from external input. The full advisory is at https://github.com/honojs/hono/security/advisories/GHSA-3hrh-pfw6-9m5x.

Affected VersionsENISA

hono < 4.12.21

Affected Packages

npm hono fix: 4.12.21

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, multi-runtime Web application framework (Node.js, Deno, Bun, Cloudflare Workers, etc.) identified by CPE cpe:2.3:a:honojs:hono:*:*:*:*:*:*:*:*. Its hono/cookie module exposes a serialize() function for building Set-Cookie header values. The function performs input sanitization on the domain and path options, rejecting characters that break cookie syntax (semicolons, carriage returns, newlines), but applies no equivalent validation to the sameSite or priority options. This maps directly to CWE-113 (Improper Neutralization of CRLF Sequences in HTTP Headers), a class of HTTP response splitting/header injection flaws. An attacker who can influence either option value can terminate the intended attribute field early and append attacker-chosen directives - or in environments where newline injection is not separately blocked, inject entirely new headers - into the HTTP response.

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

NVD PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Oct 14, 2026 - 20:23 NVD
4.3 (MEDIUM) 5.3 (MEDIUM)
Patch available
May 28, 2026 - 18:02 EUVD

DescriptionNVD

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, the serialize() function in hono/cookie validates domain and path options against characters that corrupt Set-Cookie header syntax (;, \r, \n), but does not apply the same validation to sameSite and priority. An application that passes user-controlled input into either option may produce a Set-Cookie response header containing attacker-chosen additional attributes. This vulnerability is fixed in 4.12.21.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 8 npm packages depend on hono (8 direct, 0 indirect)

Ecosystem-wide dependent count for version 4.12.21.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.0%
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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-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]

CVE-2026-22818 HIGH
8.2 Jan 13

Hono versions before 4.11.4 allow JWT algorithm confusion attacks through improper algorithm validation in the JWK/JWKS

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