CVE-2025-71381
published medium CVSS 4.0 · 6.9Hono - Vary Header Injection in CORS Middleware
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Hono | — | Hono0 to < 4.10.3 (affected · semver) · 4.10.3 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Hono | Hono | 0 to < 4.10.3 (affected · semver)4.10.3 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')
References
2- GitHub Security Advisory (GHSA-q7jf-gf43-6x6p) https://github.com/honojs/hono/security/advisories/GHSA-q7jf-gf43-6x6p
- VulnCheck Advisory: Hono - Vary Header Injection in CORS Middleware https://www.vulncheck.com/advisories/hono-vary-header-injection-in-cors-middleware
Provider assertions
2VulnCheck · cna
Hono - Vary Header Injection in CORS Middleware
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 26ccd6d7f9627199b3c0b4ee1287cd1106f82ead796b775c026b86b81ac8e9de
- Ingested
- 29 Oct 2026, 21:17:51 UTC
- Source record
- Official CVE record