Skip to main content
← All vulnerabilities
CVE-2025-71381GHSA-Q7JF-GF43-6X6P

Hono - Vary Header Injection in CORS Middleware

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.10.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Hono Hono

    fixed in 4.10.3

  • hononpm

    fixed in 4.10.3

References 2

GitHub · honojs/hono

vulncheck.com