GHSA-cw3j-28qq-x3xh
MEDIUM 6.5CVSS 3.1withdrawn / rejectedDuplicate Advisory: Hono vulnerable to Vary Header Injection leading to potential CORS Bypass
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-q7jf-gf43-6x6p. This link is maintained to preserve external references.
Original Description
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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | hono | all versions |
References
- https://github.com/honojs/hono/security/advisories/GHSA-q7jf-gf43-6x6p · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-71381 · ADVISORY
- https://www.vulncheck.com/advisories/hono-vary-header-injection-in-cors-middleware · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Jul 2026)