CVE-2020-15242

URL Redirection to Untrusted Site (Open Redirect) in npm/next

Identifiers

CVE-2020-15242, GHSA-x56p-c8cg-q435

Package Slug

npm/next

Vulnerability

URL Redirection to Untrusted Site (Open Redirect)

Description

Next.js is 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.

Affected Versions

All versions starting from 9.5.0 before 9.5.4

Solution

Upgrade to version 9.5.4 or above.

Last Modified

2020-10-22

source