CVE-2025-32379 – koa
Package
Manager: npm
Name: koa
Vulnerable Version: >=0 <2.16.1 || >=3.0.0-alpha.1 <3.0.0-alpha.5
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
EPSS: 0.00025 pctl0.05145
Details
Koajs vulnerable to Cross-Site Scripting (XSS) at ctx.redirect() function ### Summary 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. ### Patches This issue is patched in 2.16.1 and 3.0.0-alpha.5. ### PoC Coming soon... ### Impact 1. Redirect user to another phishing site 2. Make request to another endpoint of the application based on user's cookie 3. Steal user's cookie
Metadata
Created: 2025-04-09T13:00:07Z
Modified: 2025-04-09T20:29:43Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-x2rg-q646-7m2v/GHSA-x2rg-q646-7m2v.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-x2rg-q646-7m2v
Finding: F008
Auto approve: 1