koa
3.3.0 · 3 Nov 2026MIT9.7M / weekRepositoryHomepagenpmAtom feed
Upgrading koa From 1.2.2 to 2.16.4
54 releases in betweennotes for 6
Reading releases, release notes and advisories…
- ?
- changes to make
- 3
- advisories fixed
- ?
- new
- 3+
- fixes
Counted from 6 of 54 release notes. Advisories are counted from the advisory database, in full.
Security
Fixes 3 advisories affecting 1.2.2
- Inefficient Regular Expression Complexity in koacritical · GHSA-593f-38f6-jp5m
- Koa has Host Header Injection via ctx.hostnamehigh · GHSA-7gcc-r8m5-44qm
- Koajs vulnerable to Cross-Site Scripting (XSS) at ctx.redirect() functionmoderate · GHSA-x2rg-q646-7m2v
- 2.16.4
security: Host Header Injection via
ctx.hostname - 2.15.4
Fix: avoid redos on host and protocol getter, see github.com/koajs/koa/security/advisories/GHSA-5…
Release by release
- Security
security: Host Header Injection via
ctx.hostname
- Security
- Fixed
Normalize referer before redirect
- Fixed
- Fixed
Only allow back redirect to the same origin referer
- Fixed
2.16.1nothing new or fixed in the note
- Security
Fix: avoid redos on host and protocol getter, see github.com/koajs/koa/security/advisories/GHSA-5…
- Security
1.2.3 – 2.15.348 releases, no release note
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.