Description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.11.7, Cache Middleware contains an information disclosure vulnerability caused by improper handling of HTTP cache control directives. The middleware does not respect standard cache control headers such as `Cache-Control: private` or `Cache-Control: no-store`, which may result in private or authenticated responses being cached and subsequently exposed to unauthorized users. Version 4.11.7 has a patch for the issue.
Problem types
CWE-524: Use of Cache Containing Sensitive Information
CWE-613: Insufficient Session Expiration
Product status
References
github.com/...s/hono/security/advisories/GHSA-6wqw-2p9w-4vw4
github.com/...ommit/12c511745b3f1e7a3f863a23ce5f921c7fa805d1
github.com/honojs/hono/releases/tag/v4.11.7