豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 908e13d

Browse files
chore(deps): bump hono from 4.11.5 to 4.11.7 (#851)
Bumps [hono](https://github.com/honojs/hono) from 4.11.5 to 4.11.7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/honojs/hono/releases">hono's releases</a>.</em></p> <blockquote> <h2>v4.11.7</h2> <h1>Security Release</h1> <p>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.</p> <h2>Components</h2> <h3>IP Restriction Middleware</h3> <p>Fixed an IPv4 address validation bypass that could allow IP-based access control to be bypassed under certain configurations.</p> <h3>Cache Middleware</h3> <p>Fixed an issue where responses marked with <code>Cache-Control: private</code> or <code>no-store</code> could be cached, potentially leading to information disclosure on some runtimes.</p> <h3>Serve Static Middleware (Cloudflare Workers adapter)</h3> <p>Fixed an issue that could allow unintended access to internal asset keys when serving static files with user-controlled paths.</p> <h3>hono/jsx <code>ErrorBoundary</code></h3> <p>Fixed a reflected Cross-Site Scripting (XSS) issue in the <code>ErrorBoundary</code> component that could occur when untrusted strings were rendered without proper escaping.</p> <h2>Recommendation</h2> <p>Users are encouraged to upgrade to this release, especially if they:</p> <ul> <li>Use IP Restriction Middleware</li> <li>Use Cache Middleware on Deno, Bun, or Node.js</li> <li>Use Serve Static Middleware with user-controlled paths on Cloudflare Workers</li> <li>Render untrusted data inside <code>ErrorBoundary</code> components</li> </ul> <h2>Security Advisories &amp; CVEs</h2> <ul> <li> <p><strong>IP Restriction Middleware – IPv4 address validation bypass</strong></p> <ul> <li>Advisory: <a href="https://github.com/honojs/hono/security/advisories/GHSA-r354-f388-2fhh">https://github.com/honojs/hono/security/advisories/GHSA-r354-f388-2fhh</a></li> <li>CVE: CVE-2026-24398</li> </ul> </li> <li> <p><strong>Cache Middleware ignores <code>Cache-Control: private</code></strong></p> <ul> <li>Advisory: <a href="https://github.com/honojs/hono/security/advisories/GHSA-6wqw-2p9w-4vw4">https://github.com/honojs/hono/security/advisories/GHSA-6wqw-2p9w-4vw4</a></li> <li>CVE: CVE-2026-24472</li> </ul> </li> <li> <p><strong>Serve Static Middleware (Cloudflare Workers adapter) – Arbitrary key read</strong></p> <ul> <li>Advisory: <a href="https://github.com/honojs/hono/security/advisories/GHSA-w332-q679-j88p">https://github.com/honojs/hono/security/advisories/GHSA-w332-q679-j88p</a></li> <li>CVE: CVE-2026-24473</li> </ul> </li> <li> <p><strong>hono/jsx <code>ErrorBoundary</code> – Cross-Site Scripting (XSS)</strong></p> <ul> <li>Advisory: <a href="https://github.com/honojs/hono/security/advisories/GHSA-9r54-q6cx-xmh5">https://github.com/honojs/hono/security/advisories/GHSA-9r54-q6cx-xmh5</a></li> <li>CVE: Pending</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/honojs/hono/commit/f7d272abe1644e50ab5fe9cb53f5965c35d77226"><code>f7d272a</code></a> 4.11.7</li> <li><a href="https://github.com/honojs/hono/commit/2cf60046d730df9fd0aba85178f3ecfe8212d990"><code>2cf6004</code></a> Merge commit from fork</li> <li><a href="https://github.com/honojs/hono/commit/cf9a78db4d0a19b117aee399cbe9d3a6d9bfd817"><code>cf9a78d</code></a> Merge commit from fork</li> <li><a href="https://github.com/honojs/hono/commit/edbf6eea8e6c26a3937518d4ed91d8666edeec37"><code>edbf6ee</code></a> Merge commit from fork</li> <li><a href="https://github.com/honojs/hono/commit/12c511745b3f1e7a3f863a23ce5f921c7fa805d1"><code>12c5117</code></a> Merge commit from fork</li> <li><a href="https://github.com/honojs/hono/commit/7343487e620631d30bf3da54650546fd2e6a9bee"><code>7343487</code></a> 4.11.6</li> <li><a href="https://github.com/honojs/hono/commit/b6e5a97cd44b3572320b2f14763ff83ff826aeb8"><code>b6e5a97</code></a> feat(bun): export getBunServer (<a href="https://redirect.github.com/honojs/hono/issues/4626">#4626</a>)</li> <li><a href="https://github.com/honojs/hono/commit/2a9cd953b6e94ecef45894654ec5e765e1e9e411"><code>2a9cd95</code></a> fix(sse): handle <code>\r</code> and <code>\r\n</code> line endings in writeSSE (<a href="https://redirect.github.com/honojs/hono/issues/4644">#4644</a>)</li> <li><a href="https://github.com/honojs/hono/commit/8078bbf7591ec133ac8a4f7cfc4f2666a50909a9"><code>8078bbf</code></a> docs: align CODE_OF_CONDUCT.md wording with Contributor Covenant (<a href="https://redirect.github.com/honojs/hono/issues/4630">#4630</a>)</li> <li><a href="https://github.com/honojs/hono/commit/a5be555b3163236909f5699f783bbd03e28ea226"><code>a5be555</code></a> refactor: use <code>unique symbol</code> for more accurate typing. (<a href="https://redirect.github.com/honojs/hono/issues/4651">#4651</a>)</li> <li>See full diff in <a href="https://github.com/honojs/hono/compare/v4.11.5...v4.11.7">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=hono&package-manager=npm_and_yarn&previous-version=4.11.5&new-version=4.11.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/ChromeDevTools/chrome-devtools-mcp/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 85d008a commit 908e13d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)