Open Redirect Affecting koa package, versions >=2.16.2 <2.16.3>=3.0.1 <3.0.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-KOA-13653070
  • published22 Oct 2025
  • disclosed21 Oct 2025
  • credithaymizrachi

Introduced: 21 Oct 2025

NewCVE-2025-62595  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade koa to version 2.16.3, 3.0.3 or higher.

Overview

koa is a Koa web app framework

Affected versions of this package are vulnerable to Open Redirect via the "back redirect" functionality. An attacker can cause users to be redirected to an external, attacker-controlled domain by supplying a specially crafted Referer header containing a protocol-relative URL (e.g., //evil.com), which is incorrectly treated as a safe relative path. This can be exploited for phishing, social engineering, or bypassing same-origin navigation protections.

Note: This is a bypass for the fix to the vulnerability reported in CVE-2025-8129.

CVSS Base Scores

version 4.0
version 3.1