CVE-2021-37699 Open Redirect in Next.js versions below 11.1.0
MediumCVSS 6.1
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Next.js is an open source website development framework to be used with the React library. In affected versions specially encoded paths could be used when pages/_error.js was statically generated allowing 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 attacker's domain from a trusted domain. We recommend everyone to upgrade regardless of whether you can reproduce the issue or not. The issue has been patched in release 11.1.0.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm next(npm) | >= 0.9.9, < 11.1.0 | 11.1.0 | Fixed |
| vercel next.js | = < 11.1.0; >= 10.0.5, <= 10.2.0; >= 11.0.0, <= 11.0.1 | after 10.2.0, 11.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm next(npm) | >= 0.9.9, < 11.1.0 | 11.1.0 |
| vercel next.js | >= 10.0.5, <= 10.2.0 | No fix listed |
| vercel next.js | >= 11.0.0, <= 11.0.1 | No fix listed |
| vercel next.js | = < 11.1.0 | No fix listed |
References
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com release-notes third-party-advisory
- github.com
- github.com product