PT-2025-15755 · Koa · Koa
Linhnph05
·
Published
2025-04-09
·
Updated
2025-09-16
·
CVE-2025-32379
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions:
Koa versions prior to 2.16.1
Koa versions prior to 3.0.0-alpha.5
Description:
The issue arises when passing untrusted user input to
ctx.redirect(), which can execute JavaScript code on the user's device, even after sanitizing the input.Recommendations:
For versions prior to 2.16.1, update to version 2.16.1 or later.
For versions prior to 3.0.0-alpha.5, update to version 3.0.0-alpha.5 or later.
As a temporary workaround, consider avoiding the use of
ctx.redirect() with untrusted user input until a patch is applied.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Koa