CVE-2025-32379
April 09, 2025
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 Packages
https://github.com/koajs/koa.git (GITHUB):
Affected version(s) >=3.0.0-alpha.1 <3.0.0-alpha.5Fix Suggestion:
Update to version 3.0.0-alpha.5https://github.com/koajs/koa.git (GITHUB):
Affected version(s) >=0.0.2 <2.16.1Fix Suggestion:
Update to version 2.16.1koa (NPM):
Affected version(s) >=3.0.0-alpha.1 <3.0.0-alpha.5Fix Suggestion:
Update to version 3.0.0-alpha.5koa (NPM):
Affected version(s) >=0.0.1 <2.16.1Fix Suggestion:
Update to version 2.16.1Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
2.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.18