CVE-2020-15242: Open Redirect in Next.js

Published Oct 8, 2020
·
Updated

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

1 affected component
Vercel Next.js Node.js>=9.5.0<9.5.4

Event History

Oct 8, 2020
CVE Published
via MITRE·07:50 PM
Data Sourced
via MITRE·07:50 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the vulnerability ID for this Next.js vulnerability?

The vulnerability ID for this Next.js vulnerability is CVE-2020-15242.

2

What is the severity of CVE-2020-15242?

The severity of CVE-2020-15242 is medium with a CVSS score of 6.1.

3

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.

4

What is the risk of CVE-2020-15242?

CVE-2020-15242 allows for an Open Redirect vulnerability, which could be used for phishing attacks.

5

How can I fix CVE-2020-15242?

You can fix CVE-2020-15242 by upgrading to Next.js version 9.5.4 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203