CVE-2025-32379 - CVE House
Back to Database
Status published Medium CVE-2025-32379

XSS at ctx.redirect() function in Koajs

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-32379

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

koa
Vulnerable Versions:
>= 3.0.0-alpha.0, < 3.0.0-alpha.5, < 2.16.1

Timeline

Official Publish: April 9th, 2025
Last Modified: April 9th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

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

Weaknesses (CWE)