CVE-2025-62595 Details
Description
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.
An open redirect vulnerability has been identified in the Koa.js framework, specifically in versions 2.16.2 prior to 2.16.3 and 3.0.1 prior to 3.0.3. This vulnerability allows an attacker to manipulate the Referer header, causing a user's browser to redirect to an external, potentially malicious website. The issue arises because the framework incorrectly interprets certain specially crafted URLs as safe relative paths. As a result, attackers could exploit this flaw to conduct phishing, social engineering, or other redirect-based attacks on users of affected applications.
Users can update to Koa.js versions 3.0.3 or 2.16.3, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/koajs/koa/security/advisories/GHSA-g8mr-fgfg-5qpc | CISA-ADP | ExploitVendor Advisory |
| https://github.com/koajs/koa/commit/769fd75cc6b30d72493b370b5a3ae2332ca03c5b | [email protected] | Patch |
| https://github.com/koajs/koa/security/advisories/GHSA-g8mr-fgfg-5qpc | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| koajs koa | >= 3.0.1, < 3.0.3 2.16.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 20, 2026 | Initial Analysis | [email protected] |
| Oct 21, 2025 | New CVE Received | [email protected] |
| Oct 21, 2025 | CVE Modified | CISA-ADP |