CVE-2020-15242 Open Redirect in Next.js
MediumCVSS 6.1
EPSS 0.77%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm next(npm) | >= 9.5.0, < 9.5.4 | 9.5.4 | Fixed |
| vercel next.js | = >= 9.5.0, <9.5.4; >= 9.5.0, < 9.5.4 | 9.5.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm next(npm) | >= 9.5.0, < 9.5.4 | 9.5.4 |
| vercel next.js | >= 9.5.0, < 9.5.4 | 9.5.4 |
| vercel next.js | = >= 9.5.0, <9.5.4 | No fix listed |
References
- github.com patch third-party-advisory vendor-advisory
- github.com release-notes third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product