6.1

CVE-2025-32379

XSS at ctx.redirect() function in Koajs

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Koajs ≫ Koa SwPlatform node.js Version < 2.16.1
Koajs ≫ Koa Version 3.0.0 Update alpha0 SwPlatform node.js
Koajs ≫ Koa Version 3.0.0 Update alpha1 SwPlatform node.js
Koajs ≫ Koa Version 3.0.0 Update alpha2 SwPlatform node.js
Koajs ≫ Koa Version 3.0.0 Update alpha3 SwPlatform node.js
Koajs ≫ Koa Version 3.0.0 Update alpha4 SwPlatform node.js
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.25% 0.162
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
NIST 6.1 2.8 2.7
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
security-advisories@github.com 5 1.6 3.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

https://github.com/koajs/koa/commit/ff25eb4a7f2392df46481fe86355161067687312
Patch
https://github.com/koajs/koa/security/advisories/GHSA-x2rg-q646-7m2v
Patch
Vendor Advisory