CVE-2025-71381

MEDIUM

Hono - Vary Header Injection in CORS Middleware

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-q7jf-gf43-6x6p)
https://github.com/honojs/hono/security/advisories/GHSA-q7jf-gf43-6x6p
Third Party Advisory third-party-advisory
VulnCheck Advisory: Hono - Vary Header Injection in CORS Middleware
https://www.vulncheck.com/advisories/hono-vary-header-injection-in-cors-middleware

Scores

CVSS v3 6.5
EPSS 0.0028
EPSS Percentile 20.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-113
Status published
Products (2)
Hono/Hono < 4.10.2
Hono/Hono 4.10.2
Published Jun 30, 2026
Tracked Since Jul 01, 2026