Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Hono app behind CDN
-
DeliveryCraft request with arbitrary Vary header
-
ExploitCORS middleware reflects header into response
-
ExecutionCDN caches poisoned response
-
ImpactLegitimate 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Network-reachable, no privileges or interaction needed; low C and I because impact is limited to cache pollution and partial CORS bypass.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Improper authorization in Hono's JWT Auth Middleware (hono/jwt in the npm package 'hono', versions 1.1.0 through 4.10.1)
The adapter @hono/node-server allows you to run your Hono application on Node.js. Rated high severity (CVSS 7.5), this v
Hono, a web framework, prior to version 4.6.5 is vulnerable to bypass of cross-site request forgery (CSRF) middleware by
Quadratic-complexity denial of service in Hono's `languageDetector` middleware (versions 4.12.0-4.12.33) allows unauthen
Path prefix stripping in Hono's app.mount() API exposes mounted sub-applications to incorrect routing due to a raw-vs-de
Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.3),
@hono/node-server is an adapter that allows users to run Hono applications on Node.js. Rated medium severity (CVSS 5.3),
Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.0),
Cross-user HTML disclosure in Hono's server-side rendering affects all applications using hono/jsx with memo()-wrapped c
Hono is a web framework written in TypeScript. Rated medium severity (CVSS 4.3), this vulnerability is remotely exploita
Hono is a Web application framework that provides support for any JavaScript runtime. [CVSS 8.2 HIGH]
Hono versions before 4.11.4 allow JWT algorithm confusion attacks through improper algorithm validation in the JWK/JWKS
EUVD-2025-210393
GHSA-cw3j-28qq-x3xh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB