GHSA-mvw6-62qv-vmqf: Duplicate Advisory Koa Open Redirect Vulnerability

LOW
CVSS 3.5
CWE-601
Published
Advisory Summary

GHSA-mvw6-62qv-vmqf is a LOW (CVSS 3.5) koa open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Duplicate Advisory libraries in the npm ecosystem. The issue involves koa open redirect via referrer header (user-controlled). Remediation is available by upgrading affected packages to version 3.0.1.

GHSA-mvw6-62qv-vmqf at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-mvw6-62qv-vmqf
Severity LOW
CVSS v3.1 Base Score 3.5
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Duplicate Advisory
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 3.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-mvw6-62qv-vmqf

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

koa fixed: 3.0.1
npm install koa@3.0.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls koa

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-mvw6-62qv-vmqf, inspect your project dependencies using npm:

npm ls koa

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.1), your application is affected.

Note: The npm ls koa command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-jgmv-j7ww-jx2x. This link is maintained to preserve external references. ### Original Description 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.

GHSA-mvw6-62qv-vmqf Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
3.0.1
Product / Package Ecosystem Affected Versions Fixed Version
koa
npm
< 3.0.1
3.0.1

References

Frequently Asked Questions

What is GHSA-mvw6-62qv-vmqf?
GHSA-mvw6-62qv-vmqf is a security vulnerability in Duplicate Advisory involving Koa Open Redirect via Referrer Header (User-Controlled) under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 3.0.1 across affected packages: koa.
What version fixes GHSA-mvw6-62qv-vmqf?
Upgrading to 3.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is koa affected?
Yes, koa is affected in releases prior to 3.0.1. Upgrade your dependency to 3.0.1 or later.
What is the CVSS score of GHSA-mvw6-62qv-vmqf?
GHSA-mvw6-62qv-vmqf has a CVSS v3.1 base score of 3.5 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with GHSA-mvw6-62qv-vmqf?
GHSA-mvw6-62qv-vmqf is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check npm dependencies for GHSA-mvw6-62qv-vmqf?
Run the dependency tree command: 'npm ls koa'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-mvw6-62qv-vmqf",
  "modified" : "2025-07-29T19:06:04Z",
  "published" : "2025-07-25T06:30:30Z",
  "withdrawn" : "2025-07-29T19:06:04Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Koa Open Redirect via Referrer Header (User-Controlled)",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-jgmv-j7ww-jx2x. This link is maintained to preserve external references.\n\n### Original Description\nA 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "koa"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-8129"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/koajs/koa/issues/1892"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/koajs/koa/issues/1892#issue-3213028583"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/koajs/koa/commit/422c551c63d00f24e2bbbdf492f262a5935bb1f0"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/koajs/koa"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?ctiid.317514"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?id.317514"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?submit.619741"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-07-28T19:42:34Z",
    "nvd_published_at" : "2025-07-25T05:15:36Z"
  }
}