CVE-2025-32379
published medium CVSS 3.1 · 5.0XSS at ctx.redirect() function in Koajs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| koajs | — | koa>= 3.0.0-alpha.0, < 3.0.0-alpha.5 · < 2.16.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| koajs | koa | >= 3.0.0-alpha.0, < 3.0.0-alpha.5 (affected)< 2.16.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
2GitHub_M · cna
XSS at ctx.redirect() function in Koajs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a20d233e60fd2c95179af6f1843627de02947c2be118e9f688019e87ea8a816f
- Ingested
- 23 Sep 2026, 08:45:19 UTC
- Source record
- Official CVE record