Open Redirect in Next.js versions below 11.1.0
cve-program · CVE-2021-37699
PublishedNext.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.
Read the publisher's advisoryeuvd · EUVD-2021-1904
PublishedNext.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.
Read the publisher's advisorynvd · CVE-2021-37699
PublishedNext.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.
Read the publisher's advisoryosv · GHSA-vxf5-wxwp-m7g9
PublishedNext.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 it can allow for phishing attacks by redirecting to an attacker's domain from a trusted domain. ### Impact - **Affected:** Users of Next.js between `10.0.5` and `10.2.0` - **Affected:** Users of Next.js between `11.0.0` and `11.0.1` using `pages/_error.js` without `getInitialProps` - **Affected:** Users of Next.js between `11.0.0` and `11.0.1` using `pages/_error.js` and `next export` - **Not affected**: Deployments on Vercel ([vercel.com](https://vercel.com)) are not affected - **Not affected:** Deployments **with** `pages/404.js` - Note that versions prior to 0.9.9 package `next` npm package hosted a different utility (0.4.1 being the latest version of that codebase), and this advisory does not apply to those versions. We recommend upgrading to the latest version of Next.js to improve the overall security of your application. ### Patches https://github.com/vercel/next.js/releases/tag/v11.1.0
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2021-37699 · CVE overview and exploitation status
cve-program · CVE-2021-37699
- https://github.com/vercel/next.js/security/advisories/GHSA-vxf5-wxwp-m7g9
- https://github.com/vercel/next.js/releases/tag/v11.1.0
euvd · EUVD-2021-1904
- https://github.com/vercel/next.js/security/advisories/GHSA-vxf5-wxwp-m7g9
- https://github.com/vercel/next.js/releases/tag/v11.1.0
nvd · CVE-2021-37699
- https://github.com/vercel/next.js/releases/tag/v11.1.0
- https://github.com/vercel/next.js/security/advisories/GHSA-vxf5-wxwp-m7g9
osv · GHSA-vxf5-wxwp-m7g9
Related changes
Linked by CVE identifierNo related changes are available here.