Sourced from hono's releases.
v4.11.7
Security Release
This release includes security fixes for multiple vulnerabilities in Hono and related middleware. We recommend upgrading if you are using any of the affected components.
Components
IP Restriction Middleware
Fixed an IPv4 address validation bypass that could allow IP-based access control to be bypassed under certain configurations.
Cache Middleware
Fixed an issue where responses marked with
Cache-Control: privateorno-storecould be cached, potentially leading to information disclosure on some runtimes.Serve Static Middleware (Cloudflare Workers adapter)
Fixed an issue that could allow unintended access to internal asset keys when serving static files with user-controlled paths.
hono/jsx
ErrorBoundaryFixed a reflected Cross-Site Scripting (XSS) issue in the
ErrorBoundarycomponent that could occur when untrusted strings were rendered without proper escaping.Recommendation
Users are encouraged to upgrade to this release, especially if they:
- Use IP Restriction Middleware
- Use Cache Middleware on Deno, Bun, or Node.js
- Use Serve Static Middleware with user-controlled paths on Cloudflare Workers
- Render untrusted data inside
ErrorBoundarycomponentsSecurity Advisories & CVEs
IP Restriction Middleware – IPv4 address validation bypass
- Advisory: https://github.com/honojs/hono/security/advisories/GHSA-r354-f388-2fhh
- CVE: CVE-2026-24398
Cache Middleware ignores
Cache-Control: private
- Advisory: https://github.com/honojs/hono/security/advisories/GHSA-6wqw-2p9w-4vw4
- CVE: CVE-2026-24472
Serve Static Middleware (Cloudflare Workers adapter) – Arbitrary key read
- Advisory: https://github.com/honojs/hono/security/advisories/GHSA-w332-q679-j88p
- CVE: CVE-2026-24473
hono/jsx
ErrorBoundary– Cross-Site Scripting (XSS)
- Advisory: https://github.com/honojs/hono/security/advisories/GHSA-9r54-q6cx-xmh5
- CVE: Pending
... (truncated)
f7d272a
4.11.72cf6004
Merge commit from forkcf9a78d
Merge commit from forkedbf6ee
Merge commit from fork12c5117
Merge commit from fork7343487
4.11.6b6e5a97
feat(bun): export getBunServer (#4626)2a9cd95
fix(sse): handle \r and \r\n line endings in
writeSSE (#4644)8078bbf
docs: align CODE_OF_CONDUCT.md wording with Contributor Covenant (#4630)a5be555
refactor: use unique symbol for more accurate typing. (#4651)