chore(deps): bump hono from 4.12.15 to 4.13.16
Type: Pull Request
State: Open
Association: Unknown
Comments: 2
(13 days ago)
(13 days ago)
Bumps hono from 4.12.15 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()andapp.mount()can forward a path that bypasses middleware scoped inside the mount prefixAffects:
mount()inhono/mountandapp.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-7975RegExpRouter skips wildcard middleware for certain route patterns and for paths with an encoded line terminator
Affects:
RegExpRouter, including the defaultSmartRouter. 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]*}, throwUnsupportedPathError. RegeneratePreparedRegExpRouterdata. GHSA-h7mg-cq63-vhpq
validator('form')skips validation formultipart/form-datarequests with extra parametersAffects:
validator('form')inhono/validator. Amultipart/form-datarequest with an extra parameter such ascharsetwas not recognized as a form. The validator then saw an empty object while the handler could read all fields. GHSA-4h7h-rv7c-7m2v
csshelper does not escape a closing tag assembled from template parts and values, allowing HTML injectionAffects:
cssinhono/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()inhono/csrf. A POST sent by Chromium's<a ping>has the content typetext/pingand was not checked againstOriginandSec-Fetch-Site. GHSA-46wx-v44x-9hh2
Users who rely on path-scoped middleware with
mount(), wildcard middleware with the default router,validator('form'), thecsshelper with untrusted values, orcsrf()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
critin honojs/hono#5597Full Changelog: https://github.com/honojs/hono/compare/v4.13.15...v4.13.16
v4.13.15
What's Changed
- fix(auth): escape backslashes in the WWW-Authenticate realm by
@yusukebein honojs/hono#5590- docs(contributing): drop the note about linking a fork branch by
@yusukebein honojs/hono#5593- fix(context): allow
c.header()after the response body is consumed by@yusukebein honojs/hono#5587Full Changelog: https://github.com/honojs/hono/compare/v4.13.14...v4.13.15
v4.13.14
What's Changed
- docs(contributing): ask for issues instead of RPs honojs/hono#5526
- docs(readme): sync the contributing list with CONTRIBUTING.md honojs/hono#5527
- fix(adapters): accept Hono v5 prereleases in the
honopeer range honojs/hono#5537- chore: unified oxfmt and oxlint config honojs/hono#5518
- docs(readme): remove the deepwiki badge honojs/hono#5548
... (truncated)
Commits
c91b60a4.13.16e1dd588fix(jwt): reject a signature segment outside the base64url alphabet and a hea...bf16471Merge commit from forkd88fab3Merge commit from fork34f9043Merge commit from fork8a103aaMerge commit from fork15bbd96Merge commit from fork3cb29de4.13.1517ad0e2fix(context): allowc.header()after the response body is consumed (#5587)ee88684docs(contributing): drop the note about linking a fork branch (#5593)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for hono since your current version.
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 16790080 |
| UUID: | 6198974378 |
| Node ID: | PR_kwDOSFixw88AAAABMwdMtw |
| Host: | GitHub |
| Repository: | AutumnsGrove/rsshub |