Impact
Cache Middleware in Hono, versions prior to 4.12.18, fails to honor Vary: Authorization and Vary: Cookie headers. A cached response for an authenticated request may be returned to a different user, exposing data that should remain private. This flaw falls under CWE-524, which deals with data leakage due to inappropriate caching.
Affected Systems
The affected product is Hono, a JavaScript web framework. Any deployment of Hono earlier than version 4.12.18 is susceptible, regardless of the JavaScript runtime it runs on.
Risk and Exploitability
The vulnerability scores a CVSS of 5.3, indicating moderate risk. No EPSS data is available, and the issue is not listed in the CISA KEV catalog. The likely attack vector is via legitimate web traffic to the application: a malicious user can request a cached page belonging to another authenticated user, then retrieve that cached content. Successful exploitation requires that the application is configured to cache authenticated responses and that the attacker can provoke those requests.
OpenCVE Enrichment
Github GHSA