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)
KoajsKoa SwPlatformnode.js Version < 2.16.1
KoajsKoa Version3.0.0 Updatealpha0 SwPlatformnode.js
KoajsKoa Version3.0.0 Updatealpha1 SwPlatformnode.js
KoajsKoa Version3.0.0 Updatealpha2 SwPlatformnode.js
KoajsKoa Version3.0.0 Updatealpha3 SwPlatformnode.js
KoajsKoa Version3.0.0 Updatealpha4 SwPlatformnode.js
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.22% 0.116
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 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