Medium severity · published Aug 12, 2021
CVE-2021-37699
Next.js is an open source website development framework to be used with the React library
6.1
CVSS
1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
Next.js · Vercel
10.0.5 through 10.2.0; 11.0.0 through 11.0.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-37699
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-37699
Release Notes
https://github.com/vercel/next.js/releases/tag/v11.1.0
Third Party Advisory
https://github.com/vercel/next.js/security/advisories/GHSA-vxf5-wxwp-m7g9
More from Next.js
10.0
CVE-2025-55182
Meta React Server Components Remote Code Execution Vulnerability
9.1
CVE-2025-29927
Next.js is a React framework for building full-stack web applications
9.0
CVE-2026-75604
Next.js: Unauthenticated Remote Code Execution on windows-hosted servers
8.6
CVE-2026-44578
Next.js: Server-side request forgery in applications using WebSocket upgrades
8.2
CVE-2026-94482
Next.js: Denial of Service in App Router using Server Actions
