Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. koa
  4. ›
  5. CVE-2025-8129

CVE-2025-8129: Koa Open Redirect via Referrer Header (User-Controlled)

July 29, 2025 (updated July 30, 2025)

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 →

Affected versions

All versions starting from 2.0.0 before 2.16.2, all versions starting from 3.0.0-alpha.0 before 3.0.1

Fixed versions

  • 2.16.2
  • 3.0.1

Solution

Upgrade to versions 2.16.2, 3.0.1 or above.

Impact 3.5 LOW

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

npm/koa/CVE-2025-8129.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:19 +0000.