Vulnerability · Published Oct 8, 2020 · Assigned by GitHub_M

CVE-2020-15242Open Redirect in Next.js

Medium 4.7

In plain English

A medium-severity open redirect in next.js from vercel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.7Medium
Exploit odds (30 days)0.8%top 44.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmnext9.5.4GHSA-x56p-c8cg-q435

Affected products (as reported)

VendorProductVersions
vercel next.js >= 9.5.0, <9.5.4

Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

References