Skip to content

chore(deps): bump hono from 4.12.8 to 4.12.21 in /apps/backend in the npm_and_yarn group across 1 directory#15

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/apps/backend/npm_and_yarn-ae2dcc06bf
Open

chore(deps): bump hono from 4.12.8 to 4.12.21 in /apps/backend in the npm_and_yarn group across 1 directory#15
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/apps/backend/npm_and_yarn-ae2dcc06bf

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Jun 4, 2026

Bumps the npm_and_yarn group with 1 update in the /apps/backend directory: hono.

Updates hono from 4.12.8 to 4.12.21

Release notes

Sourced from hono's releases.

v4.12.21

Security fixes

This release includes fixes for the following security issues:

app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded paths

Affects: app.mount(). Fixes prefix stripping using the raw URL pathname instead of the decoded path, where percent-encoded characters in the mount prefix or path could cause the prefix to be removed at the wrong position, resulting in the sub-application receiving an incorrect path. GHSA-2gcr-mfcq-wcc3

IP Restriction bypasses static deny rules for non-canonical IPv6

Affects: hono/ip-restriction. Fixes IP address comparison using string equality, where non-canonical IPv6 representations of a denied address — such as compressed forms or hex-notation IPv4-mapped addresses — could bypass static deny rules. GHSA-xrhx-7g5j-rcj5

Cookie helper does not sanitize sameSite and priority, allowing Set-Cookie injection

Affects: hono/cookie. Fixes missing validation of sameSite and priority options against injection characters (;, \r, \n), where user-controlled input passed to either option could inject additional attributes into the Set-Cookie response header. GHSA-3hrh-pfw6-9m5x

JWT middleware accepts any Authorization scheme, not only Bearer

Affects: hono/jwt, hono/jwk. Fixes missing scheme validation in the Authorization header, where any two-part header value was accepted regardless of the scheme name, allowing non-Bearer schemes to pass JWT authentication. GHSA-f577-qrjj-4474


Users who use app.mount(), hono/ip-restriction, hono/cookie, or hono/jwt/hono/jwk are encouraged to upgrade to this version.

v4.12.20

What's Changed

New Contributors

Full Changelog: honojs/hono@v4.12.19...v4.12.20

v4.12.19

What's Changed

New Contributors

Full Changelog: honojs/hono@v4.12.18...v4.12.19

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 4, 2026
@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Jun 4, 2026

Greptile Summary

Routine Dependabot bump of hono from 4.12.8 to 4.12.21 in apps/backend. The upgrade is a patch-range update that picks up four security advisories fixed in v4.12.21, along with several bug fixes in the intermediate releases.

  • Security fixes (v4.12.21): Incorrect percent-encoded path stripping in app.mount() (GHSA-2gcr-mfcq-wcc3), non-canonical IPv6 bypass in hono/ip-restriction (GHSA-xrhx-7g5j-rcj5), Set-Cookie header injection via sameSite/priority in hono/cookie (GHSA-3hrh-pfw6-9m5x), and any-scheme acceptance in hono/jwt/hono/jwk (GHSA-f577-qrjj-4474).
  • Bug fixes: Duplicate cookie name handling (returns first), base path preservation for mounted route() apps, @hono/node-server v2 upgrade with fixed abort handling, and other minor JSX/serveStatic improvements.

Confidence Score: 5/5

Safe to merge — single-line patch-range version bump that brings in security fixes with no API-breaking changes.

The change is a single version bump of hono across a patch range (4.12.8 → 4.12.21). All intermediate releases are bug fixes or security patches with no breaking changes documented. The upgrade is advisable given the four security advisories it resolves.

No files require special attention.

Important Files Changed

Filename Overview
apps/backend/package.json Bumps hono from 4.12.8 to 4.12.21, picking up four security fixes and several bug fixes

Reviews (2): Last reviewed commit: "chore(deps): bump hono" | Re-trigger Greptile

Bumps the npm_and_yarn group with 1 update in the /apps/backend directory: [hono](https://github.com/honojs/hono).


Updates `hono` from 4.12.8 to 4.12.21
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.12.8...v4.12.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/apps/backend/npm_and_yarn-ae2dcc06bf branch from 3e04843 to de2188e Compare June 4, 2026 21:20
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