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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | next | 9.5.4 | GHSA-x56p-c8cg-q435 |
Affected products (as reported)
Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
References
- https://github.com/vercel/next.js/security/advisories/GHSA-x56p-c8cg-q435 x_refsource_CONFIRM
- https://github.com/zeit/next.js/releases/tag/v9.5.4 x_refsource_MISC