# CVE-2021-37699: Open Redirect in Next.js versions below 11.1.0

- Severity: Medium 6.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.03%, higher than 63% of CVEs (2026-11-30)
- Published: 2021-08-11T23:15:10.000Z
- Modified: 2026-07-08T06:00:27.645Z
- Also known as: GHSA-vxf5-wxwp-m7g9
- Weaknesses: CWE-601
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- vercel next.js: < 11.1.0; from 10.0.5 up to 10.2.0; from 11.0.0 up to 11.0.1
- next (npm): from 0.9.9 before 11.1.0

## Every score

- GitHub_M: CVSS:3.1 6.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 6.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://github.com/vercel/next.js/security/advisories/GHSA-vxf5-wxwp-m7g9> (third-party-advisory, web)
- <https://github.com/vercel/next.js/releases/tag/v11.1.0> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-37699> (advisory)
- <https://github.com/vercel/next.js> (package)

## Sources

- CVE List: [CVE-2021-37699](https://www.cve.org/CVERecord?id=CVE-2021-37699), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-vxf5-wxwp-m7g9](https://github.com/advisories/GHSA-vxf5-wxwp-m7g9), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-37699](https://nvd.nist.gov/vuln/detail/CVE-2021-37699), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-37699 · Whole record: https://cve.day/CVE-2021-37699.json · Rebuilt by cve.day 2026-11-25T22:58:03.142Z
