Skip to content

chore(deps): bump hono from 4.12.4 to 4.12.18#98

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

chore(deps): bump hono from 4.12.4 to 4.12.18#98
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hono-4.12.18

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 9, 2026

Bumps hono from 4.12.4 to 4.12.18.

Release notes

Sourced from hono's releases.

v4.12.18

Security fixes

This release includes fixes for the following security issues:

Cache Middleware ignores Vary: Authorization / Vary: Cookie leading to cross-user cache leakage

Affects: Cache Middleware. Fixes missing cache-skip handling for Vary: Authorization and Vary: Cookie, where a response cached for one authenticated user could be served to other users. GHSA-p77w-8qqv-26rm

CSS Declaration Injection via Style Object Values in JSX SSR

Affects: hono/jsx. Fixes a missing CSS-context escape for style object values and property names, where untrusted input could inject additional CSS declarations. The impact is limited to CSS and does not allow JavaScript execution. GHSA-qp7p-654g-cw7p

Improper validation of NumericDate claims (exp, nbf, iat) in JWT verify()

Affects: hono/utils/jwt. Fixes improper validation of exp, nbf, and iat claims, where falsy, non-finite, or non-numeric values could silently bypass time-based checks instead of being rejected per RFC 7519. GHSA-hm8q-7f3q-5f36


Users who use the JWT helper, hono/jsx, or the Cache middleware are strongly encouraged to upgrade to this version.

v4.12.17

What's Changed

New Contributors

Full Changelog: honojs/hono@v4.12.16...v4.12.17

v4.12.16

Security fixes

This release includes fixes for the following security issues:

Unvalidated JSX Tag Names in hono/jsx May Allow HTML Injection

Affects: hono/jsx. Fixes missing validation of JSX tag names when using jsx() or createElement(), which could allow HTML injection if untrusted input is used as the tag name. GHSA-69xw-7hcm-h432

bodyLimit() can be bypassed for chunked / unknown-length requests

Affects: Body Limit Middleware. Fixes late enforcement for request bodies without a reliable Content-Length (e.g. chunked requests), where oversized requests could reach handlers and return successful responses before being rejected. GHSA-9vqf-7f2p-gf9v

v4.12.15

What's Changed

... (truncated)

Commits

Dependabot compatibility score

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 commands and options

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 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.

Greptile Summary

This PR bumps hono from 4.12.4 to 4.12.18 across both the example app and the hono package, along with the corresponding pnpm-lock.yaml updates. The upgrade addresses multiple security advisories disclosed between the two versions.

  • Security fixes included: JWT NumericDate bypass (GHSA-hm8q-7f3q-5f36), Cache Middleware cross-user cache leakage via Vary: Authorization/Cookie (GHSA-p77w-8qqv-26rm), CSS injection in JSX SSR style objects (GHSA-qp7p-654g-cw7p), HTML injection via unvalidated JSX tag names (GHSA-69xw-7hcm-h432), and bodyLimit() bypass for chunked requests (GHSA-9vqf-7f2p-gf9v).
  • Collateral lock file updates include turbo (2.9.3 → 2.9.12), graphql (16.12.0 → 16.14.0), tough-cookie (6.0.0 → 6.0.1), type-fest (5.3.1 → 5.6.0), and tldts (7.0.19 → 7.0.30) — all resolved transitively by pnpm and consistent with the dependency graph.

Confidence Score: 5/5

Safe to merge — this is a security-motivated patch-range bump with no API-breaking changes and well-validated collateral lock updates.

All three changed files are version number updates: two package.json pins and the regenerated lock file. The hono upgrade stays within a stable minor (4.12.x), every collateral transitive update is a patch or minor bump, and the deprecated packages surfaced in the lock file (uuid, glob, @ungap/structured-clone) pre-exist this PR and are not introduced by it.

No files require special attention; the lock file collateral changes are mechanical pnpm re-resolves consistent with the declared semver ranges.

Important Files Changed

Filename Overview
apps/examples/hono-example/package.json Pins hono from 4.12.4 to 4.12.18; straightforward version bump with no other changes.
packages/hono/package.json Pins hono devDependency from 4.12.4 to 4.12.18; consistent with the example app change.
pnpm-lock.yaml Lock file regenerated to reflect hono 4.12.18 and transitively updated packages (turbo, graphql, tough-cookie, type-fest, tldts). New deprecation notices for @ungap/structured-clone, glob, and uuid are surfaced but pre-exist this change.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[hono 4.12.4 → 4.12.18] --> B[Security Advisories Fixed]
    B --> C[GHSA-hm8q-7f3q-5f36\nJWT NumericDate bypass in verify]
    B --> D[GHSA-p77w-8qqv-26rm\nCache Middleware Vary header leakage]
    B --> E[GHSA-qp7p-654g-cw7p\nCSS injection in JSX SSR styles]
    B --> F[GHSA-69xw-7hcm-h432\nHTML injection via JSX tag names]
    B --> G[GHSA-9vqf-7f2p-gf9v\nbodyLimit bypass for chunked requests]
    A --> H[Collateral lock updates]
    H --> I[turbo 2.9.3 → 2.9.12]
    H --> J[graphql 16.12.0 → 16.14.0]
    H --> K[tough-cookie 6.0.0 → 6.0.1]
    H --> L[type-fest 5.3.1 → 5.6.0]
    H --> M[tldts 7.0.19 → 7.0.30]
Loading

Reviews (1): Last reviewed commit: "chore(deps): bump hono from 4.12.4 to 4...." | Re-trigger Greptile

Bumps [hono](https://github.com/honojs/hono) from 4.12.4 to 4.12.18.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.12.4...v4.12.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 9, 2026
@dependabot dependabot Bot requested a review from endalk200 as a code owner May 9, 2026 07:05
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 9, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented May 9, 2026

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

Project Deployment Actions Updated (UTC)
better-webhook-docs Error Error May 9, 2026 7:05am

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