cve.bz

CVE-2025-25200

9.2 criticalEPSS 0.8%

Critical (9.2) in koajs koa. EPSS 0.8% chance of exploitation in the next 30 days. Fixed in koa 0.21.2, 1.7.1, 2.15.4.

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.

Severity

CVSS 4.0

9.2 critical
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.8% chance of exploitation in the next 30 days; higher than 57% of CVEs (scores of 2026-10-31)
CWE
CWE-1333
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-593f-38f6-jp5mnpmkoa>=2.0.0 <2.15.42.15.4
GHSA-593f-38f6-jp5mnpmkoa>=3.0.0-alpha.0 <3.0.0-alpha.33.0.0-alpha.3
GHSA-593f-38f6-jp5mnpmkoa>=1.0.0 <1.7.11.7.1
GHSA-593f-38f6-jp5mnpmkoa<0.21.20.21.2

References

Check your stackJSON