MEDIUM · CVSS 5 Published: 2025-04-09
CVE-2025-32379 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-32379 |
|---|---|
| Base Severity / Score | MEDIUM (5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
| Weakness Classification | CWE-79 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/koajs/koa/commit/ff25eb4a7f2392df46481fe86355161067687312
- https://github.com/koajs/koa/security/advisories/GHSA-x2rg-q646-7m2v
Related Security Advisories
CVE-2025-32378 MEDIUM 5.3
CVE-2025-3238 HIGH 7.3
CVE-2025-32376 MEDIUM 4.3
CVE-2025-32381 MEDIUM 6.5
CVE-2025-32383 MEDIUM 4.3
CVE-2025-32385 MEDIUM 5.3
CVE-2025-32386 MEDIUM 6.5