{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-25200","published":"2025-02-12T18:15:28.110000Z","last_modified":"2026-06-17T09:00:28.320000Z","status":"Analyzed","cvss":{"version":"4.0","score":9.2,"severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-1333"],"cpes":[{"criteria":"cpe:2.3:a:koajs:koa:*:*:*:*:*:node.js:*:*","part":"a","vendor":"koajs","product":"koa","version_end_excluding":"0.21.2"},{"criteria":"cpe:2.3:a:koajs:koa:*:*:*:*:*:node.js:*:*","part":"a","vendor":"koajs","product":"koa","version_start_including":"1.0.0","version_end_excluding":"1.7.1"},{"criteria":"cpe:2.3:a:koajs:koa:*:*:*:*:*:node.js:*:*","part":"a","vendor":"koajs","product":"koa","version_start_including":"2.0.0","version_end_excluding":"2.15.4"},{"criteria":"cpe:2.3:a:koajs:koa:3.0.0:alpha0:*:*:*:node.js:*:*","part":"a","vendor":"koajs","product":"koa","version":"3.0.0"},{"criteria":"cpe:2.3:a:koajs:koa:3.0.0:alpha1:*:*:*:node.js:*:*","part":"a","vendor":"koajs","product":"koa","version":"3.0.0"},{"criteria":"cpe:2.3:a:koajs:koa:3.0.0:alpha2:*:*:*:node.js:*:*","part":"a","vendor":"koajs","product":"koa","version":"3.0.0"}],"cpes_truncated":false,"vendors":["koajs"],"products":["koajs/koa"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-593f-38f6-jp5m","ecosystem":"npm","name":"koa","purl":"pkg:npm/koa","ranges":[{"introduced":"2.0.0","fixed":"2.15.4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-593f-38f6-jp5m","ecosystem":"npm","name":"koa","purl":"pkg:npm/koa","ranges":[{"introduced":"3.0.0-alpha.0","fixed":"3.0.0-alpha.3"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-593f-38f6-jp5m","ecosystem":"npm","name":"koa","purl":"pkg:npm/koa","ranges":[{"introduced":"1.0.0","fixed":"1.7.1"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-593f-38f6-jp5m","ecosystem":"npm","name":"koa","purl":"pkg:npm/koa","ranges":[{"introduced":"0","fixed":"0.21.2"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2025-25200/","html_en":"/en/cve/CVE-2025-25200/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-25200","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-25200"},"untrusted":{"vendor_name":"Koajs","product_name":"Koa","desc_en":"Koa is expressive middleware for Node.js using ES2017 async functions. Prior to versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3, Koa uses an evil regex to parse the `X-Forwarded-Proto` and `X-Forwarded-Host` HTTP headers. This can be exploited to carry out a Denial-of-Service attack. Versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3 fix the issue.","affected":[{"untrusted_vendor":"koajs","untrusted_product":"koa","versions":[]}],"references":[{"url":"https://github.com/koajs/koa/blob/master/lib/request.js#L259","tags":["Product"]},{"url":"https://github.com/koajs/koa/blob/master/lib/request.js#L404","tags":["Product"]},{"url":"https://github.com/koajs/koa/commit/5054af6e31ffd451a4151a1fe144cef6e5d0d83c","tags":["Patch"]},{"url":"https://github.com/koajs/koa/commit/5f294bb1c7c8d9c61904378d250439a321bffd32","tags":["Patch"]},{"url":"https://github.com/koajs/koa/commit/93fe903fc966635a991bcf890cfc3427d33a1a08","tags":["Patch"]},{"url":"https://github.com/koajs/koa/releases/tag/2.15.4","tags":["Release Notes"]},{"url":"https://github.com/koajs/koa/security/advisories/GHSA-593f-38f6-jp5m","tags":["Vendor Advisory"]}]}}