Vulnerability · Published Aug 11, 2021 · Assigned by GitHub_M

CVE-2021-37699Open Redirect in Next.js versions below 11.1.0

Medium 6.9

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 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

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

Official description

Next.js is an open source website development framework to be used with the React library. In affected versions specially encoded paths could be used when pages/_error.js was statically generated allowing 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 attacker's domain from a trusted domain. We recommend everyone to upgrade regardless of whether you can reproduce the issue or not. The issue has been patched in release 11.1.0.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmnext11.1.0GHSA-vxf5-wxwp-m7g9

Affected products (as reported)

VendorProductVersions
vercel next.js < 11.1.0

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

References