CVE-2025-8129Koajs Koa
Low 2.0
Follow: this CVE · Koajs · Koajs Koa We alert you by email or Slack (account required).
- Priority
- 12
- CVSS 4.0
- 2.0
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 25, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/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
What happens
A vulnerability, which was classified as problematic, was found in KoaJS Koa up to 3.0.0. Affected is the function back in the library lib/response.js of the component HTTP Header Handler. The manipulation of the argument Referrer leads to open redirect. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
What to do
- Apply the vendor's security update for Koa.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | koa |
≥ 2.0.0 < 2.16.2 |
2.16.2 |
npm install koa@2.16.2 |
| npm | koa |
≥ 3.0.0-alpha.0 < 3.0.1 |
3.0.1 |
npm install koa@3.0.1 |
Per OSV / GitHub Advisories (GHSA-jgmv-j7ww-jx2x). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| koajs | koa | ≥ 2.0.0 < 2.16.2 |
| koajs | koa | 3.0.0 |
| koajs | koa | 3.0.0 |
| koajs | koa | 3.0.0 |
| koajs | koa | 3.0.0 |
| koajs | koa | 3.0.0 |
| koajs | koa | 3.0.0 |
| koajs | koa | 3.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Patch
- github.com Exploit Issue Tracking Patch
- vuldb.com Permissions Required VDB Entry
- vuldb.com Third Party Advisory VDB Entry
- vuldb.com Third Party Advisory VDB Entry