Skip to content

build(deps): bump hono from 4.13.13 to 4.13.16 - #573

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hono-4.13.16
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hono-4.13.16

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Bumps hono from 4.13.13 to 4.13.16.

Release notes

Sourced from hono's releases.

v4.13.16

Security fixes

This release includes fixes for the following security issues:

mount() and app.mount() can forward a path that bypasses middleware scoped inside the mount prefix

Affects: mount() in hono/mount and app.mount(). A dynamic prefix such as /api/:tenant/* was removed by the length of the route pattern. The forwarded path was also re-normalized by the URL parser, so a decoded \ became / and .. collapsed. Both let a crafted request skip middleware scoped inside the mount prefix. Routes such as /assets* and duplicate parameter names now throw. GHSA-4m76-xfj5-7975

RegExpRouter skips wildcard middleware for certain route patterns and for paths with an encoded line terminator

Affects: RegExpRouter, including the default SmartRouter. Wildcard middleware was not applied in three cases: a parameter written as {[^/]+} in the middleware path only, a /prefix* route next to /prefix/* middleware, and a path with an encoded line terminator. RegExpRouter now covers the same routes as the other routers. Custom patterns that can match the empty string, such as {[0-9]*}, throw UnsupportedPathError. Regenerate PreparedRegExpRouter data. GHSA-h7mg-cq63-vhpq

validator('form') skips validation for multipart/form-data requests with extra parameters

Affects: validator('form') in hono/validator. A multipart/form-data request with an extra parameter such as charset was not recognized as a form. The validator then saw an empty object while the handler could read all fields. GHSA-4h7h-rv7c-7m2v

css helper does not escape a closing tag assembled from template parts and values, allowing HTML injection

Affects: css in hono/css. A </style> split between the template and a value, or between two values, was not escaped. Closing tags are now escaped after minification. GHSA-3gg2-335m-rxc6

csrf() does not check requests sent by hyperlink auditing (text/ping)

Affects: csrf() in hono/csrf. A POST sent by Chromium's <a ping> has the content type text/ping and was not checked against Origin and Sec-Fetch-Site. GHSA-46wx-v44x-9hh2


Users who rely on path-scoped middleware with mount(), wildcard middleware with the default router, validator('form'), the css helper with untrusted values, or csrf() are strongly encouraged to upgrade to this version.

What's Changed

  • fix(jwt): reject a signature segment outside the base64url alphabet and a header with crit in honojs/hono#5597

Full Changelog: honojs/hono@v4.13.15...v4.13.16

v4.13.15

What's Changed

Full Changelog: honojs/hono@v4.13.14...v4.13.15

v4.13.14

What's Changed

... (truncated)

Commits
  • c91b60a 4.13.16
  • e1dd588 fix(jwt): reject a signature segment outside the base64url alphabet and a hea...
  • bf16471 Merge commit from fork
  • d88fab3 Merge commit from fork
  • 34f9043 Merge commit from fork
  • 8a103aa Merge commit from fork
  • 15bbd96 Merge commit from fork
  • 3cb29de 4.13.15
  • 17ad0e2 fix(context): allow c.header() after the response body is consumed (#5587)
  • ee88684 docs(contributing): drop the note about linking a fork branch (#5593)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 13, 2026
@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
warden-prod Ready Ready Preview Nov 25, 2026 6:57pm UTC

Request Review

@sentry-junior sentry-junior Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. This bump is worth taking. warden-service puts its auth behind wildcard middleware (app.use('/api/v1/*', authenticate(...))) on the default router. The RegExpRouter fix in this release (GHSA-h7mg-cq63-vhpq) closes a case where a path with an encoded line terminator could skip that middleware. The new strictness won't break us: the service doesn't use mount(), /prefix* routes, or custom regex params that match the empty string.

The lockfile actually resolves hono to 4.13.18, which is fine since it's inside the new ^4.13.16 range. The other lockfile changes are re-resolved transitive deps: vite 8.3.8 under vitest, and @emnapi/* 2.0.0-beta.2 as the optional peer of the wasm32 bindings. They only touch dev tooling and optional wasm fallbacks, not the service runtime.

@sentry-junior sentry-junior Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. The lockfile actually resolves hono to 4.13.18, not 4.13.16. That's fine: it's inside the new ^4.13.16 range and includes the mount, RegExpRouter, form-validator, and csrf fixes.

We don't use mount(), validator('form'), csrf(), or css. The fix that matters here is the RegExpRouter one, since warden-service scopes body buffering and auth with /api/* and /api/v1/* wildcard middleware. I didn't find any /prefix* route sitting next to those middleware or any empty-matching custom param patterns, so the new throw paths shouldn't fire. The service and app test suites pass on this branch.

The extra lockfile churn (@emnapi/* going to 2.0.0-beta.2, vite 8.3.8 for vitest) only affects the wasm32-wasi fallback bindings and test tooling, so it doesn't touch the deployed service.

Bumps [hono](https://github.com/honojs/hono) from 4.13.13 to 4.13.16.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.13.13...v4.13.16)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.13.16
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

This branch was successfully deployed

2 active deployments
Preview – warden-prod — 4b350e86 Deployed Nov 25, 2026 by vercel[bot]
Preview – warden — 4b350e86 Deployed Nov 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants