CVE-2025-25200
CVE-2025-25200 — Koa has Inefficient Regular Expression Complexity
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
<1%
chance of exploitation in 30 days
CVSS base
9.2
CRITICAL
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.2 | CVSS 4.0 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-1333
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
Indexed by
References
7 on the record
- github.com/koajs/koa/security/advisories/GHSA-593f-38f6-jp5m
x_refsource_CONFIRM
- github.com/koajs/koa/commit/5054af6e31ffd451a4151a1fe144cef6e5d0d83c
x_refsource_MISC
- github.com/koajs/koa/commit/5f294bb1c7c8d9c61904378d250439a321bffd32
x_refsource_MISC
- github.com/koajs/koa/commit/93fe903fc966635a991bcf890cfc3427d33a1a08
x_refsource_MISC
- github.com/koajs/koa/blob/master/lib/request.js#L259
x_refsource_MISC
- github.com/koajs/koa/blob/master/lib/request.js#L404
x_refsource_MISC
- github.com/koajs/koa/releases/tag/2.15.4
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.