Duplicate 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.
GHSA-cw3j-28qq-x3xh
Primary source · Revision 1 · Withdrawn
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:GHSA-cw3j-28qq-x3xh
hono
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "hono",
"purl": "pkg:npm/hono",
"ecosystem": "npm"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-cw3j-28qq-x3xh/GHSA-cw3j-28qq-x3xh.json",
"last_known_affected_version_range": "< 4.10.3"
}
}
]Publisher severity
medium
Source reference: /severity/1/score
- Event
- #71342 · Revision 1
- Added to Heist Feed
- Publisher date