XSS at ctx.redirect() function in Koajs
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| koajs | koa | affected |
|
Configuration 1 [-]
|
No data.
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-10545 | 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. |
Github GHSA |
GHSA-x2rg-q646-7m2v | Koajs vulnerable to Cross-Site Scripting (XSS) at ctx.redirect() function |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.267% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Koajs
Koajs koa |
|
| CPEs | cpe:2.3:a:koajs:koa:*:*:*:*:*:node.js:*:* cpe:2.3:a:koajs:koa:3.0.0:alpha0:*:*:*:node.js:*:* cpe:2.3:a:koajs:koa:3.0.0:alpha1:*:*:*:node.js:*:* cpe:2.3:a:koajs:koa:3.0.0:alpha2:*:*:*:node.js:*:* cpe:2.3:a:koajs:koa:3.0.0:alpha3:*:*:*:node.js:*:* cpe:2.3:a:koajs:koa:3.0.0:alpha4:*:*:*:node.js:*:* |
|
| Vendors & Products |
Koajs
Koajs koa |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | XSS at ctx.redirect() function in Koajs | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV3_1
|