CVE-2020-15242: Open Redirect in Next.js
Next.js versions >=9.5.0 and <9.5.4 are vulnerable to an Open Redirect. Specially encoded paths could be used with the trailing slash redirect to allow an open redirect to occur to an external site. In general, this redirect does not directly harm users although can allow for phishing attacks by redirecting to an attackers domain from a trusted domain. The issue is fixed in version 9.5.4.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the vulnerability ID for this Next.js vulnerability?
The vulnerability ID for this Next.js vulnerability is CVE-2020-15242.
What is the severity of CVE-2020-15242?
The severity of CVE-2020-15242 is medium with a CVSS score of 6.1.
Which versions of Next.js are affected by CVE-2020-15242?
Next.js versions >=9.5.0 and <9.5.4 are affected by CVE-2020-15242.
What is the risk of CVE-2020-15242?
CVE-2020-15242 allows for an Open Redirect vulnerability, which could be used for phishing attacks.
How can I fix CVE-2020-15242?
You can fix CVE-2020-15242 by upgrading to Next.js version 9.5.4 or higher.