{"cve":"CVE-2025-32379","nvd":{"published":"2025-04-09T16:15:25.903","modified":"2026-06-17T09:11:54.453","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/koajs/koa/commit/ff25eb4a7f2392df46481fe86355161067687312","https://github.com/koajs/koa/security/advisories/GHSA-x2rg-q646-7m2v"],"products":["koajs:koa"],"source":"nvd","synced_at":"2026-10-19T22:00:57.946988208+00:00"},"epss":{"cve":"CVE-2025-32379","score":0.00262,"percentile":0.18031,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x2rg-q646-7m2v","url":"https://osv.dev/vulnerability/GHSA-x2rg-q646-7m2v","summary":"Koajs vulnerable to Cross-Site Scripting (XSS) at ctx.redirect() function","modified":"2025-04-09T20:29:43Z","packages":[{"ecosystem":"npm","name":"koa","purl":"pkg:npm/koa","ranges":["<2.16.1"],"fixed":["2.16.1"]},{"ecosystem":"npm","name":"koa","purl":"pkg:npm/koa","ranges":[">=3.0.0-alpha.1 <3.0.0-alpha.5"],"fixed":["3.0.0-alpha.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}