{"id":"CVE-2021-37699","published":"2021-08-11T23:15:10Z","modified":"2024-08-04T01:23:01Z","title":"Open Redirect in Next.js versions below 11.1.0","vendor":"vercel","product":"next.js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01033,"percentile":0.64586,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-vxf5-wxwp-m7g9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vercel/next.js/releases/tag/v11.1.0","tags":["x_refsource_MISC"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":12.92},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"vercel","affectedVersions":[{"vendor":"vercel","product":"next.js","versions":["< 11.1.0"]}],"affected":[{"ecosystem":"npm","package":"next","vulnerableRanges":[">=0.9.9, <11.1.0"],"patched":["11.1.0"],"from":["GHSA-vxf5-wxwp-m7g9"],"provenance":"source"}],"summary":{"text":"An open redirect flaw in the Next.js web development framework, affecting versions below 11.1.0, arises when pages/_error.js is statically generated and specially encoded paths can be used to redirect users to an external site. An attacker can exploit this over the network by crafting a link that uses such a path, requiring the victim to interact with it (user interaction), and the main practical risk is phishing by redirecting from a trusted domain to an attacker-controlled one.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:40:22Z"},"euvd":{"id":"EUVD-2021-1904","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-18282","published":"2018-10-12","fixed":"7.0.2","kev":false},{"cve":"CVE-2020-5284","published":"2020-03-30","fixed":"9.3.2","kev":false},{"cve":"CVE-2020-15242","published":"2020-10-08","fixed":"9.5.4","kev":false},{"cve":"CVE-2021-37699","published":"2021-08-11","fixed":"11.1.0","kev":false},{"cve":"CVE-2021-39178","published":"2021-08-30","fixed":"11.1.1","kev":false,"link":{"from":"CVE-2021-37699","to":"CVE-2021-39178","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:next","fromFixed":"11.1.0","toFixed":"11.1.1","daysApart":19}]}},{"cve":"CVE-2021-43803","published":"2021-12-09","fixed":"12.0.5","kev":false},{"cve":"CVE-2022-21721","published":"2022-01-28","fixed":"12.0.9","kev":false}],"package":"npm:next"}}