CVE-2025-62595
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_MCVSS: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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:44.262Z | CVE Program |
| epss | verified | 2026-11-19T16:04:41.864Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:30.819Z | OSV |
| affected | verified | 2026-11-19T12:57:44.262Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:44.262Z | CVE 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 JSONOSV · 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 JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | koa | Not a distribution channel | 3.0.3 | Official record |
| ecosystem-boundary | npm / package | koa | Not a distribution channel | 2.16.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:30.819ZArchived source JSON
Source publication: 2025-10-21T15:09:06.000Z
Source modification: 2026-02-03T03:16:37.947ZDocument fingerprint
21e1fe5d8680a6ef21fa8ac5841aa8616030957efde466707b5d03db8dfdddaf - CVE ProgramConsulted: 2026-11-19T12:57:44.262ZArchived source JSON
Source publication: 2025-10-21T16:20:43.809Z
Source modification: 2025-10-21T16:35:48.461ZDocument fingerprint
299912a76d85c80b50485ed77fc0ca34b5b620f9491f0c015a9cd5a76a9b0842 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:41.864ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
09df03f9e4ac0890671b481adc15352105826dd59b4f13294f3708bead65ab2a
Official status history
- UNKNOWN → PUBLISHED · · evidence