CVE-2020-15242

Open Redirect in Next.js

State
Published
Severity
4.7 Medium
Published
Oct 8, 2020
Updated
Aug 4, 2024
Reserved
Jun 25, 2020

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.14.7 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-601 {"CWE-601":"URL Redirection to Untrusted Site ('Open Redirect')"}

Affected Products

ProductVersions
next.jsvercel
  • >= 9.5.0, <9.5.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.