Koa is expressive middleware for Node.js using ES2017 async functions. In koa < 2.16.1 and < 3.0.0-alpha.5, passing untrusted user input to ctx.redirect() even after sanitizing it, may execute javascript code on the user who use the app. This issue is patched in 2.16.1 and 3.0.0-alpha.5.
| Software | From | Fixed in |
|---|---|---|
@types / koa
|
- | 2.16.1 |
@types / koa
|
3.0.0-alpha.1 | 3.0.0-alpha.5 |
| koajs / koa | - | 2.16.1 |
| koajs / koa | 3.0.0-alpha0 | 3.0.0-alpha0.x |
| koajs / koa | 3.0.0-alpha1 | 3.0.0-alpha1.x |
| koajs / koa | 3.0.0-alpha2 | 3.0.0-alpha2.x |
| koajs / koa | 3.0.0-alpha3 | 3.0.0-alpha3.x |
| koajs / koa | 3.0.0-alpha4 | 3.0.0-alpha4.x |