GHSA-593f-38f6-jp5m · Severity: critical · Ecosystem: npm — Inefficient Regular Expression Complexity in koa
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.
Conclusion & alert: CVE-2025-25200 is rated Moderate Risk (60/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 0.50%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-28 | 0.36% | 0.50% | +0.14% |
| 2 | 2026-03-23 | 0.68% | 0.36% | -0.32% |
| 3 | 2026-01-21 | — | 0.68% | — |
Full EPSS history (12 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.2 | 4.0 | CRITICAL |
|
— | — | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-593f-38f6-jp5m · Severity: critical · Ecosystem: npm — Inefficient Regular Expression Complexity in koa
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| koajs | koa | < 0.21.2 | cpe:2.3:a:koajs:koa:*:*:*:*:*:node.js:*:* |
| koajs | koa | >= 1.0.0, < 1.7.1 | cpe:2.3:a:koajs:koa:*:*:*:*:*:node.js:*:* |
| koajs | koa | >= 2.0.0, < 2.15.4 | cpe:2.3:a:koajs:koa:*:*:*:*:*:node.js:*:* |
| koajs | koa | 3.0.0 | cpe:2.3:a:koajs:koa:3.0.0:alpha0:*:*:*:node.js:*:* |
| koajs | koa | 3.0.0 | cpe:2.3:a:koajs:koa:3.0.0:alpha1:*:*:*:node.js:*:* |
| koajs | koa | 3.0.0 | cpe:2.3:a:koajs:koa:3.0.0:alpha2:*:*:*:node.js:*:* |