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.

SeverityMedium
CVSS5.0
Exploit probability—
ProductKoa
PublishedApr 9, 2025
First seenApr 9, 2025

How to fix

Update
  • koajs koa2.16.1 or later
  • koa2.16.1, 3.0.0-alpha.5 or later

Affected products

ProductAffected versionsFixed in
koajs koav < 2.16.1, 3.0.02.16.1
koanpmv < 2.16.1, 3.0.0-alpha.1 ≤ v < 3.0.0-alpha.52.16.1, 3.0.0-alpha.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.