CVE-2025-32379
5
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| koajs | koa | >= 3.0.0-alpha.0, < 3.0.0-alpha.5 | affected |
| koajs | koa | < 2.16.1 | affected |
Weaknesses
- CWE-79: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: total
References
- https://github.com/koajs/koa/security/advisories/GHSA-x2rg-q646-7m2v
- https://github.com/koajs/koa/commit/ff25eb4a7f2392df46481fe86355161067687312
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.