Hono cache middleware ignores "Cache-Control: private" leading to Web Cache Deception (honojs hono)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.52 % · percentile 44 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-524 — Use of Cache Containing Sensitive Information
- CWE-613 — DEPRECATED: Insufficient Session Expiration
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-6wqw-2p9w-4vw4 — Hono cache middleware ignores "Cache-Control: private" leading to Web Cache Deception
European references
- ENISA EUVD · EUVD-2026-4750
- GCVE · GCVE-0-2026-24472
Affected configurations (NVD CPE)
cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*< 4.11.7
Affected products
| Product | Versions |
|---|---|
| honojs · hono | affected < 4.11.7 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |