# hono/release
Hono v4.13.16
importance: criticalbreakingmigrationsecurity
This security release fixes five vulnerabilities affecting mount path forwarding, wildcard middleware matching, form validation, CSS escaping, and CSRF checks. It also hardens JWT verification by rejecting signatures outside the base64url alphabet and headers containing `crit`.
affected
Applications using mount-scoped or wildcard middleware, `validator('form')`, the CSS helper with untrusted values, or `csrf()` are affected; the release notes strongly encourage these users to upgrade.
action
Upgrade to v4.13.16, especially if your application uses any of the affected middleware or helpers.
release_signals
-RegExpRouter now throws `UnsupportedPathError` for custom patterns that can match the empty string, such as `{[0-9]*}`.
!GHSA-4m76-xfj5-7975: Fixed `mount()` and `app.mount()` path forwarding that could bypass middleware scoped inside a mount prefix. Routes such as `/assets*` and duplicate parameter names now throw.
!GHSA-h7mg-cq63-vhpq: Fixed RegExpRouter wildcard middleware omissions for certain route patterns and encoded line terminators. Regenerate `PreparedRegExpRouter` data.
!GHSA-4h7h-rv7c-7m2v: Fixed `validator('form')` failing to recognize `multipart/form-data` requests with extra parameters, which could let handlers receive unvalidated fields.
!GHSA-3gg2-335m-rxc6: Fixed HTML injection through `css` when a `</style>` closing tag was assembled across template parts or values.
!GHSA-46wx-v44x-9hh2: Fixed `csrf()` not checking `text/ping` requests against `Origin` and `Sec-Fetch-Site`; JWT verification also now rejects signatures outside the base64url alphabet and headers containing `crit`.
migration_steps1 steps
- 01Regenerate `PreparedRegExpRouter` data.
# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.