
CVE catalog
CVE-2025-71381
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. Becau
- Severity
- Medium · CVSS 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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.29% · Oct 25, 2026
A flaw was found in Hono's Cross-Origin Resource Sharing (CORS) middleware. When the origin is not set to a wildcard, the middleware improperly copies the Vary header from incoming requests into the response. This allows an attacker to inject arbitrary Vary values, potentially leading to cache key pollution and inconsistent CORS enforcement. Such an issue can affect environments that rely on shared caches or proxies, potentially enabling a bypass of CORS policies. Hono: Hono: Potential CORS bypass via Vary Header Injection Red Hat products that include the Hono npm package already ship version 4.11.4 or later, which contains the fix for this vulnerability. No Red Hat products are affected. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Npm | hono | Not reported | 4.10.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Npm | hono | npm | Not reported | 4.10.3 | Not reported | GHSA-Q7JF-GF43-6X6P | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://github.com/advisories/GHSA-q7jf-gf43-6x6p]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-71381]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71381.json]
[FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX]