We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-32379

XSS at ctx.redirect() function in Koajs



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.

Reserved 2025-04-06 | Published 2025-04-09 | Updated 2025-04-09 | Assigner GitHub_M


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

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

>= 3.0.0-alpha.0, < 3.0.0-alpha.5
affected

< 2.16.1
affected

References

github.com/koajs/koa/security/advisories/GHSA-x2rg-q646-7m2v

github.com/...ommit/ff25eb4a7f2392df46481fe86355161067687312

cve.org (CVE-2025-32379)

nvd.nist.gov (CVE-2025-32379)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-32379

Support options

Helpdesk Chat, Email, Knowledgebase