CVE-2025-32379
MEDIUMkoa < 2.16.1 and < 3.0.0-alpha.5 - Cross-Site Scripting via ctx.redirect()
Title source: llmDescription
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.
References (2)
Core 2
Core References
Patch, Vendor Advisory x_refsource_confirm
https://github.com/koajs/koa/security/advisories/GHSA-x2rg-q646-7m2v
Patch x_refsource_misc
https://github.com/koajs/koa/commit/ff25eb4a7f2392df46481fe86355161067687312
Scores
CVSS v3
5.0
EPSS
0.0031
EPSS Percentile
54.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
total
Details
CWE
CWE-79
Status
published
Products (3)
koajs/koa
3.0.0 alpha0 (5 CPE variants)
koajs/koa
< 2.16.1
npm/koa
0 - 2.16.1npm
Published
Apr 09, 2025
Tracked Since
Feb 18, 2026