koa
3.3.0 · 3 Nov 2026MIT9.7M / weekRepositoryHomepagenpmAtom feed
Upgrading koa From 3.0.2 to 3.3.0
7 releases in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 2
- advisories fixed
- 3
- new
- 14
- fixes
Security
Fixes 2 advisories affecting 3.0.2
- Koa has Host Header Injection via ctx.hostnamehigh · GHSA-7gcc-r8m5-44qm
- Koa Vulnerable to Open Redirect via Trailing Double-Slash (//) in back Redirect Logicmoderate · GHSA-g8mr-fgfg-5qpc
- 3.1.2
security: Host Header Injection via
ctx.hostname
Release by release
- New
re-export http-errors utilities
- Fixed
Response content-type value amount as one with testcase
- Fixed
Parse absolute-form request targets in request.URL
- Fixed
response: Keep the Blob content type instead of forcing octet-stream
- New
- Fixed
Request.length overflows on Content-Length > 2GB
- Fixed
- New
Defer AsyncLocalStorage creation for v8 startup snapshots
- New
- Security
security: Host Header Injection via
ctx.hostname
- Security
- Fixed
Only original value destroy if the new value is not a stream
- Fixed
- New
Fixes mem leak relating to issue-1834
- Fixed
Adds steam clean up
- New
- Fixed
Normalize referer before redirect
- Fixed
1 other line we could not sort, mostly version bumps
- 3.3.0
Make ctx.assert errors instanceof HttpError
25 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.