CVE-2025-32379

MEDIUM

koa < 2.16.1 and < 3.0.0-alpha.5 - Cross-Site Scripting via ctx.redirect()

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.0
EPSS 0.0031
EPSS Percentile 54.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-79
Status published
Products (3)
koajs/koa 3.0.0 alpha0 (5 CPE variants)
koajs/koa < 2.16.1
npm/koa 0 - 2.16.1npm
Published Apr 09, 2025
Tracked Since Feb 18, 2026