CVE-2020-15242
MEDIUM 6.1CVSS 3.1Open Redirect in Next.js versions
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.
- Published
- 8 Oct 2020
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-601
- Also known as
- GHSA-x56p-c8cg-q435
- Sources
- NVDJSONOSV GHSA-x56p-c8cg-q435JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vercel | next.jscpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:* |
>= 9.5.0, < 9.5.4 | 9.5.4 |
| OSV | npm | next | >= 9.5.0, < 9.5.4 | 9.5.4 |
References
- https://github.com/vercel/next.js/security/advisories/GHSA-x56p-c8cg-q435 · Patch, Third Party Advisory, WEB
- https://github.com/zeit/next.js/releases/tag/v9.5.4 · Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-15242 · ADVISORY
- https://github.com/vercel/next.js · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 8 Oct 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Oct 2020)