CVE-2025-32379

CVE-2025-32379 is a medium-severity vulnerability in Koajs Koa with a CVSS 3.x base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.

Key facts

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.

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.
How severe is CVE-2025-32379?
CVE-2025-32379 has a CVSS 3.x base score of 5.0, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability low.
Is CVE-2025-32379 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (13th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-32379?
CVE-2025-32379 primarily affects Koajs Koa. In total, 6 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2025-32379?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-32379 have an EU (EUVD) identifier?
Yes. CVE-2025-32379 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-10545.
When was CVE-2025-32379 published?
CVE-2025-32379 was published on 2025-04-09 and last updated on 2026-06-17.

References

Affected products (6)

More vulnerabilities in Koajs Koa

All CVEs affecting Koajs Koa →

Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities

Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →