CVE-2025-32379Published Apr 9, 2025 · Apr 9Updated Oct 28
XSS at ctx.redirect() function in Koajs
koajs koa
Medium5.0Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| koa npm |
|
|
Original description
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.
From the CVE record · GitHub_M