Skip to main content

Hono CVE-2025-71381

| EUVDEUVD-2025-210393 MEDIUM
HTTP Response Splitting (CWE-113)
2026-06-30 VulnCheck GHSA-cw3j-28qq-x3xh
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Identify Hono app behind CDN
  2. Delivery
    Craft request with arbitrary Vary header
  3. Exploit
    CORS middleware reflects header into response
  4. Execution
    CDN caches poisoned response
  5. Impact
    Legitimate users receive incorrect CORS enforcement

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 specific conditions: (1) the Hono application must have the CORS middleware enabled with the origin configuration set to a specific origin value - NOT the wildcard *; applications using origin: '*' are not affected as this code path is bypassed. (2) The application must be deployed behind a shared cache, CDN, or reverse proxy that uses the Vary header for cache keying - without a caching intermediary, cache key pollution has no downstream effect and the practical impact is negligible. The CVSS 4.0 vector confirms unauthenticated remote access (PR:N, UI:N) with no additional attack requirements (AT:N), meaning no special session, account, or configuration access is needed beyond being able to send HTTP requests to the target. Exploitation is limited to non-wildcard CORS deployments with caching infrastructure; direct-origin Hono applications without caching layers face minimal real-world risk.

Impact

The CVSS 4.0 score of 6.9 with vector AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N reflects a remotely exploitable, low-complexity flaw requiring no privileges or user interaction, with limited confidentiality and integrity impact. The real-world risk is conditional and context-dependent: exploitation is only meaningful in deployments that sit behind shared caches, CDNs, or caching proxies - direct origin servers with no caching layer are substantially less exposed. Integrity impact (VI:L) materializes as cache poisoning that causes wrong CORS enforcement for other users, while the confidentiality impact (VC:L) is limited to information leakage via cache probing. No EPSS score was provided in the input data, and the vulnerability is not listed in CISA KEV, indicating no confirmed active exploitation. No POC has been identified at time of analysis. For edge-deployed Hono applications behind CDNs (the primary Hono use case), this is a realistic, if moderate-severity, threat. For direct-origin deployments without caching intermediaries, the practical risk is low despite the network-accessible attack vector.

Exploit ScenarioDerived

An attacker targeting a Hono application deployed behind a shared CDN sends a crafted HTTP request containing a manipulated Vary: X-Attacker-Header value. The Hono CORS middleware - configured with a specific origin rather than wildcard - copies this attacker-supplied value into the response's Vary header. The CDN caches this response keyed on the attacker-injected header, causing legitimate subsequent users to receive CORS-incorrect cached responses, potentially bypassing or mis-enforcing origin restrictions. No public exploit code is identified at time of analysis, but the technique requires only standard HTTP request crafting.

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

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

Alert me

AnalysisAIv1 – Jun 30, 2026

Header injection in Hono's CORS middleware exposes applications to cache key pollution across versions before 4.10.3. When the CORS origin option is configured to anything other than wildcard *, the middleware incorrectly promotes client-supplied Vary header values from the incoming request directly into the HTTP response - a behavior violating the HTTP specification, which reserves Vary as a server-managed response header. In environments using shared caches, CDNs, or reverse proxies, an attacker can craft requests with arbitrary Vary values to poison cache entries, potentially causing incorrect CORS policies to be enforced for legitimate downstream users. No public exploit code and no CISA KEV listing have been identified at time of analysis.

RemediationAI

Upgrade Hono to version 4.10.3 or later, which resolves the header injection in the CORS middleware - this is the definitive fix per the GitHub security advisory GHSA-q7jf-gf43-6x6p. For environments where immediate upgrade is not feasible, a targeted workaround is to explicitly strip or normalize the Vary header in a custom middleware placed after the CORS middleware, ensuring client-supplied values are never reflected. Alternatively, if the application's CORS policy permits, temporarily setting origin: '*' bypasses the vulnerable code path but may broaden cross-origin access beyond intended policy - assess the security trade-off against the deployment's trust model. For applications deployed behind CDNs or caching proxies, consider configuring the cache layer to ignore or normalize the Vary header for CORS-related responses as a compensating control; note that this may have side effects on legitimate content negotiation. The VulnCheck advisory at https://www.vulncheck.com/advisories/hono-vary-header-injection-in-cors-middleware may contain additional remediation context.

Affected VersionsENISA

hono 0 <4.10.2

Affected Packages

npm hono fix: 4.10.2, 4.10.3

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 (CPE: cpe:2.3:a:hono:hono:*:*:*:*:*:*:*:*) is a lightweight, edge-first TypeScript web framework popular on Cloudflare Workers, Deno, Bun, and Node.js runtimes. The vulnerability falls under CWE-113 (Improper Neutralization of CRLF Sequences in HTTP Headers), which encompasses the broader class of HTTP header injection flaws where attacker-controlled data is inserted into response headers without sanitization or semantic validation. In this case, the Hono CORS middleware fails to distinguish between request headers (attacker-controlled) and response headers (server-managed). The Vary response header instructs caches which request headers should be used to differentiate cached responses; polluting it with arbitrary attacker-supplied values manipulates cache keying logic in shared reverse proxies or CDNs. The flaw was introduced in the non-wildcard code path and was fixed in Hono 4.10.3 per the GitHub security advisory GHSA-q7jf-gf43-6x6p.

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 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable, no privileges or interaction needed; low C and I because impact is limited to cache pollution and partial CORS bypass.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
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
Jul 01, 2026 - 02:16 EUVD

DescriptionCVE.org

Hono before 4.10.2 (fixed in 4.10.3) contains a flaw in its CORS middleware: when the origin is not set to "*", the middleware copies the Vary header from the incoming request into the response. Because Vary is a response header that should be managed by the server, an attacker can supply arbitrary Vary values that are reflected into the response, potentially causing cache key pollution and inconsistent CORS enforcement in environments that rely on shared caches or proxies.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
popular edge-computing framework, growing but not ubiquitous
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor 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.3%
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
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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

Vendor StatusVendor

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