Skip to content

Commit 91737fd

Browse files
feat(deps): bump hono from 4.11.1 to 4.11.7 (#19068)
Bumps [hono](https://github.com/honojs/hono) from 4.11.1 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>Additional commits viewable in <a href="https://github.com/honojs/hono/compare/v4.11.1...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.1&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/getsentry/sentry-javascript/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 83860c2 commit 91737fd

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

dev-packages/cloudflare-integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"dependencies": {
1616
"@langchain/langgraph": "^1.0.1",
1717
"@sentry/cloudflare": "10.38.0",
18-
"hono": "^4.0.0"
18+
"hono": "^4.11.7"
1919
},
2020
"devDependencies": {
2121
"@cloudflare/workers-types": "^4.20250922.0",

dev-packages/node-integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"express": "^4.21.1",
5656
"generic-pool": "^3.9.0",
5757
"graphql": "^16.3.0",
58-
"hono": "^4.9.8",
58+
"hono": "^4.11.7",
5959
"http-terminator": "^3.2.0",
6060
"ioredis": "^5.4.1",
6161
"kafkajs": "2.2.4",

yarn.lock

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18854,10 +18854,10 @@ homedir-polyfill@^1.0.1:
1885418854
dependencies:
1885518855
parse-passwd "^1.0.0"
1885618856

18857-
hono@^4.0.0, hono@^4.9.8:
18858-
version "4.11.1"
18859-
resolved "https://registry.yarnpkg.com/hono/-/hono-4.11.1.tgz#cb1b0c045fc74a96c693927234c95a45fb46ab0b"
18860-
integrity sha512-KsFcH0xxHes0J4zaQgWbYwmz3UPOOskdqZmItstUG93+Wk1ePBLkLGwbP9zlmh1BFUiL8Qp+Xfu9P7feJWpGNg==
18857+
hono@^4.11.7:
18858+
version "4.11.7"
18859+
resolved "https://registry.yarnpkg.com/hono/-/hono-4.11.7.tgz#f5b8d0b0b503ef0d913a246012dda52ea23dbe53"
18860+
integrity sha512-l7qMiNee7t82bH3SeyUCt9UF15EVmaBvsppY2zQtrbIhl/yzBTny+YUxsVjSjQ6gaqaeVtZmGocom8TzBlA4Yw==
1886118861

1886218862
hookable@^5.5.3:
1886318863
version "5.5.3"
@@ -29076,6 +29076,7 @@ stylus@0.59.0, stylus@^0.59.0:
2907629076

2907729077
sucrase@^3.27.0, sucrase@^3.35.0, sucrase@getsentry/sucrase#es2020-polyfills:
2907829078
version "3.36.0"
29079+
uid fd682f6129e507c00bb4e6319cc5d6b767e36061
2907929080
resolved "https://codeload.github.com/getsentry/sucrase/tar.gz/fd682f6129e507c00bb4e6319cc5d6b767e36061"
2908029081
dependencies:
2908129082
"@jridgewell/gen-mapping" "^0.3.2"

0 commit comments

Comments
 (0)