CVE-2025-8129: Koa Open Redirect via Referrer Header (User-Controlled)
(updated )
In the latest version of Koa, the back method used for redirect operations adopts an insecure implementation, which uses the user-controllable referrer header as the redirect target.
References
- github.com/advisories/GHSA-jgmv-j7ww-jx2x
- github.com/koajs/koa
- github.com/koajs/koa/commit/422c551c63d00f24e2bbbdf492f262a5935bb1f0
- github.com/koajs/koa/issues/1892
- github.com/koajs/koa/issues/1892
- github.com/koajs/koa/security/advisories/GHSA-jgmv-j7ww-jx2x
- nvd.nist.gov/vuln/detail/CVE-2025-54420
- nvd.nist.gov/vuln/detail/CVE-2025-8129
- vuldb.com/?ctiid.317514
- vuldb.com/?id.317514
- vuldb.com/?submit.619741
Code Behaviors & Features
Detect and mitigate CVE-2025-8129 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →