CVE-2020-15242
published 2020-10-08CVE-2020-15242: 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…
PriorityP423medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
EPSS
0.76%
50.7th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| next | next | >= 9.5.0 < 9.5.4 | 9.5.4 |
| vercel | next.js | — | — |
| vercel | next.js | >= 9.5.0 < 9.5.4 | 9.5.4 |
CVSS provenance
nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.05.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:N
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Open Redirect in Next.js versions
osv·2020-10-08
CVE-2020-15242 [MEDIUM] Open Redirect in Next.js versions
Open Redirect in Next.js versions
### 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
GHSA
Open Redirect in Next.js versions
ghsa·2020-10-08
CVE-2020-15242 [MEDIUM] CWE-601 Open Redirect in Next.js versions
Open Redirect in Next.js versions
### 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
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2020-10-08
Published