koa vulnerabilities
Koa web app framework
- Registry
- npm
- Latest
- 3.2.1
- License
- MIT
5 known advisories
The latest version, 3.2.1, is not affected by any of them. Projects on older versions may be.
npm install koa@3.2.1Security advisories for koa
Koa has Host Header Injection via ctx.hostname
- Affected
- >=3.0.0 <3.1.2 · <2.16.4
- Fixed in
- 2.16.4, 3.1.2
Koa Vulnerable to Open Redirect via Trailing Double-Slash (//) in back Redirect Logic
- Affected
- >=3.0.1 <3.0.3 · >=2.16.2 <2.16.3
- Fixed in
- 2.16.3, 3.0.3
Koa Open Redirect via Referrer Header (User-Controlled)
- Affected
- >=2.0.0 <2.16.2 · >=3.0.0-alpha.0 <3.0.1
- Fixed in
- 2.16.2, 3.0.1
Koajs vulnerable to Cross-Site Scripting (XSS) at ctx.redirect() function
- Affected
- <2.16.1 · >=3.0.0-alpha.1 <3.0.0-alpha.5
- Fixed in
- 2.16.1, 3.0.0-alpha.5
Inefficient Regular Expression Complexity in koa
- Affected
- >=2.0.0 <2.15.4 · >=3.0.0-alpha.0 <3.0.0-alpha.3 · >=1.0.0 <1.7.1 · <0.21.2
- Fixed in
- 0.21.2, 1.7.1, 2.15.4, 3.0.0-alpha.3
Which of your client projects still run an old koa?
NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other npm packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.