Vulnerability · Published Aug 11, 2021 · Assigned by GitHub_M
CVE-2021-37699Open Redirect in Next.js versions below 11.1.0
Medium 6.9
In plain English
A medium-severity open redirect in next.js from vercel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | next | 11.1.0 | GHSA-vxf5-wxwp-m7g9 |
Affected products (as reported)
Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/vercel/next.js/security/advisories/GHSA-vxf5-wxwp-m7g9 x_refsource_CONFIRM
- https://github.com/vercel/next.js/releases/tag/v11.1.0 x_refsource_MISC