CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2025-62595

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 4.3 · medium

Koa Vulnerable to Open Redirect via Trailing Double-Slash (//) in back Redirect Logic

Koa is expressive middleware for Node.js using ES2017 async functions. In versions 2.16.2 to before 2.16.3 and 3.0.1 to before 3.0.3, a bypass to CVE-2025-8129 was discovered in the Koa.js framework affecting its back redirect functionality. In certain circumstances, an attacker can manipulate the Referer header to force a user’s browser to navigate to an external, potentially malicious website. This occurs because the implementation incorrectly treats some specially crafted URLs as safe relative paths. Exploiting this vulnerability could allow attackers to perform phishing, social engineering, or other redirect-based attacks on users of affected applications. This issue has been patched in version 3.0.3.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.293% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 4.3 · published by GitHub_M
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Assessment source · checked 2026-11-19T12:57:44.262Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:57:44.262ZCVE Program
epssverified2026-11-19T16:04:41.864ZFIRST EPSS
patchesverified2026-11-19T12:52:30.819ZOSV
affectedverified2026-11-19T12:57:44.262ZCVE Program
lifecycleverified2026-11-19T12:57:44.262ZCVE Program

Affected versions and configuration

koajs koa; default status: unknown: >= 2.16.2, < 2.16.3 [affected; scheme: unspecified]; >= 3.0.1, < 3.0.3 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "koajs",
      "product": "koa",
      "versions": [
        {
          "status": "affected",
          "version": ">= 2.16.2, < 2.16.3"
        },
        {
          "status": "affected",
          "version": ">= 3.0.1, < 3.0.3"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2025-62595",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "poc"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-10-21T16:35:45.437787Z"
            }
          }
        }
      ],
      "references": [
        {
          "url": "https://github.com/koajs/koa/security/advisories/GHSA-g8mr-fgfg-5qpc",
          "tags": [
            "exploit"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-10-21T16:35:48.461Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-g8mr-fgfg-5qpc",
  "aliases": [
    "CVE-2025-62595"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "3.0.1"
            },
            {
              "fixed": "3.0.3"
            }
          ]
        }
      ],
      "package": {
        "name": "koa",
        "purl": "pkg:npm/koa",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-g8mr-fgfg-5qpc/GHSA-g8mr-fgfg-5qpc.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "2.16.2"
            },
            {
              "fixed": "2.16.3"
            }
          ]
        }
      ],
      "package": {
        "name": "koa",
        "purl": "pkg:npm/koa",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-g8mr-fgfg-5qpc/GHSA-g8mr-fgfg-5qpc.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/koajs/koa/security/advisories/GHSA-g8mr-fgfg-5qpc",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-62595",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/koajs/koa/commit/769fd75cc6b30d72493b370b5a3ae2332ca03c5b",
      "type": "WEB"
    },
    {
      "url": "https://github.com/koajs/koa",
      "type": "PACKAGE"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-601"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2025-10-21T17:15:40Z",
    "github_reviewed_at": "2025-10-21T15:09:06Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packagekoaNot a distribution channel3.0.3Official record
ecosystem-boundarynpm / packagekoaNot a distribution channel2.16.3Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history