[Snyk] Upgrade hono from 4.12.27 to 4.12.28 - #106
Conversation
Snyk has created this PR to upgrade hono from 4.12.27 to 4.12.28. See this package in npm: hono See this project in Snyk: https://app.snyk.io/org/zsmith/project/ac9a8588-00bc-4267-8f2f-c1109676fcbc?utm_source=github&utm_medium=referral&page=upgrade-pr
|
This is a patch version upgrade from Patch releases in the Hono project are typically for bug fixes and minor, non-breaking changes. No specific release notes or documented breaking changes were found for version Given the nature of a patch release, no breaking changes are expected. Source: Package documentation
|
|
|
🧪 Test Summary
|
Snyk has created this PR to upgrade hono from 4.12.27 to 4.12.28.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 1 version ahead of your current version.
The recommended version was released 22 days ago.
Breaking Change Risk
Release notes
Package name: hono
-
4.12.28 - 2026-07-06
- fix(serve-static): treat empty string content as found by @ yusukebe in #5062
- docs(MIGRATION): fix req.raw.headers reference (property, not method) by @ EduardF1 in #5047
- chore: don't publish
- fix(utils/body,validator): normalize Content-Type media type for case-insensitive matching by @ yusukebe in #5067
- fix: avoid circular dependency between body.ts and request.ts by @ usualoma in #5071
- fix(bun): report the requested subprotocol on WSContext.protocol by @ greymoth-jp in #5059
- chore: bump
- fix(aws-lambda): detect V2 events by request context, not rawPath alone by @ VihaanAgarwal in #5033
- docs(context-storage): fix JSDoc by @ yusukebe in #5086
- @ EduardF1 made their first contribution in #5047
- @ greymoth-jp made their first contribution in #5059
- @ VihaanAgarwal made their first contribution in #5033
-
4.12.27 - 2026-06-23
from hono GitHub release notesWhat's Changed
*.tsbuildinfoby @ yusukebe in #5066devDependenciesby @ yusukebe in #5085New Contributors
Full Changelog: v4.12.27...v4.12.28
Security fixes
This release includes fixes for the following security issues:
hono/jsx does not isolate context per request
Affects:
hono/jsx,hono/jsx-renderer. During SSR, context was stored process-wide instead of per request, souseContext()/useRequestContext()read after anawaitin an async component could return another concurrent request's value — leading to cross-request data disclosure or authorization checks against the wrong request. GHSA-hvrm-45r6-mjfjServer-Side XSS via JSX escaping bypass in cx()
Affects:
hono/css.cx()marked its composed class name as already-escaped without escaping the input, so untrusted input passed as a class name could break out of the JSXclassattribute during SSR and inject markup (XSS). GHSA-w62v-xxxg-mg59API Gateway v1 adapter can drop a repeated request header value
Affects:
hono/aws-lambda. The API Gateway v1 (and VPC Lattice) adapter de-duplicated repeated header values by substring instead of exact match, dropping a value that is a substring of another (e.g.203.0.113.1dropped when203.0.113.10is present) — affecting logic such asX-Forwarded-For-based IP restriction. GHSA-xgm2-5f3f-mvvcUsers of
hono/jsx/hono/jsx-renderer,hono/css(cx()), or thehono/aws-lambdaAPI Gateway v1 / VPC Lattice adapters are encouraged to upgrade.Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: