CVE-2025-32379

MEDIUM
Published Apr 9, 2025 Modified Jan 14, 2026 CWE-79

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.

Is your site exposed to CVE-2025-32379?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

5.0
MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Weakness Type (CWE)

CWE-79 Cross-site Scripting (XSS)

Affected Products

Vendor Product
koajs koa
koajs koa
koajs koa
koajs koa
koajs koa
koajs koa

References

Frequently Asked Questions

What is CVE-2025-32379? +
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. It has a CVSS v3.1 base score of 5.0 (MEDIUM).
How severe is CVE-2025-32379? +
CVE-2025-32379 has a CVSS v3.1 score of 5.0 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2025-32379? +
CVE-2025-32379 affects products from koajs, specifically: koa. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-32379? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-32379 — free, no signup required.