CVE-2020-15242
mediumpriority · track · 24EPSS 0.008 · 55 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-x56p-c8cg-q435Open Redirect in Next.js versions2020-10-08ghsa · osvUS
### Impact - **Affected**: Users of Next.js between 9.5.0 and 9.5.3 - **Not affected**: Deployments on Vercel ([https://vercel.com](https://vercel.com)) are not affected - **Not affected**: Deployments using `next export` We recommend everyone to upgrade regardless of whether you can reproduce the issue or not. ### Patches https://github.com/vercel/next.js/releases/tag/v9.5.4 ### References https://github.com/vercel/next.js/releases/tag/v9.5.4
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/vercel/next.js/security/advisories/GHSA-x56p-c8cg-q435cnnvd
- https://github.com/zeit/next.js/releases/tag/v9.5.4cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-15242cnnvd
- https://github.com/vercel/next.js/security/advisories/GHSA-x56p-c8cg-q435enisa_euvd
- https://github.com/zeit/next.js/releases/tag/v9.5.4enisa_euvd
- https://github.com/vercel/next.js/security/advisories/GHSA-x56p-c8cg-q435PatchThird Party Advisorynvd
- https://github.com/zeit/next.js/releases/tag/v9.5.4Release NotesThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan