CVE-2025-71381
MEDIUM 6.9CVSS 4.0Hono vulnerable to Vary Header Injection leading to potential CORS Bypass
Hono before 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.
- Published
- 30 Jun 2026
- Last modified
- 29 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-113CWE-444
- Also known as
- GHSA-q7jf-gf43-6x6p
- Sources
- NVDJSONOSV GHSA-q7jf-gf43-6x6pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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 |
| NVD | disclosure@vulncheck.com (Secondary) | 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 |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | hono | < 4.10.3 | 4.10.3 |
References
- https://github.com/honojs/hono/security/advisories/GHSA-q7jf-gf43-6x6p · WEB
- https://www.vulncheck.com/advisories/hono-vary-header-injection-in-cors-middleware · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-71381 · ADVISORY
- https://github.com/honojs/hono/commit/d9b8b4b73b4f997994f2764013207365fe711282 · WEB
- https://github.com/honojs/hono · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 30 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Oct 2025)