CVE-2025-32379

medium

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.

References

https://github.com/koajs/koa/security/advisories/GHSA-x2rg-q646-7m2v

https://github.com/koajs/koa/commit/ff25eb4a7f2392df46481fe86355161067687312

Details

Source: Mitre, NVD

Published: 2025-04-09

Updated: 2025-04-09

Risk Information

CVSS v2

Base Score: 5.1

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 5

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Severity: Medium

EPSS

EPSS: 0.00033