Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
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 applicationsUpgrade koa to version 2.16.3, 3.0.3 or higher.
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.