{"id":"GHSA-cw3j-28qq-x3xh","title":"Duplicate Advisory: Hono vulnerable to Vary Header Injection leading to potential CORS Bypass","summary":"Duplicate Advisory: Hono vulnerable to Vary Header Injection leading to potential CORS Bypass","severity":"medium","cvss":6.5,"cwe":["CWE-113"],"vendor":"hono","product":"hono","ecosystem":"npm","affected":["hono < 4.10.3"],"published":"2026-07-01","updated":"2026-10-02","sourceUpdated":"2026-10-02T18:28:40Z","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-cw3j-28qq-x3xh","references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-q7jf-gf43-6x6p"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71381"},{"url":"https://www.vulncheck.com/advisories/hono-vary-header-injection-in-cors-middleware"},{"url":"https://github.com/advisories/GHSA-cw3j-28qq-x3xh"}],"tags":["ghsa","npm"],"ingestedAt":"2026-10-02T22:33:09.858Z","slug":"GHSA-cw3j-28qq-x3xh","body":"## Overview\n\n## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-q7jf-gf43-6x6p. This link is maintained to preserve external references.\n\n## Original Description\nHono 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.\n\n## Affected packages\n\n- `hono < 4.10.3`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}