CVE-2021-37699
CVE-2021-37699 — Open Redirect in Next.js versions below 11.1.0
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
1%
chance of exploitation in 30 days
CVSS base
6.9
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.9 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-601
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /_error.js.
References
2 on the record
- github.com/vercel/next.js/security/advisories/GHSA-vxf5-wxwp-m7g9
x_refsource_CONFIRM
- github.com/vercel/next.js/releases/tag/v11.1.0
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-29927 Authorization Bypass in Next.js MiddlewareCVSS 9.1
- CVE-2021-38000 Google Chromium Intents Improper Input Validation VulnerabilityCVSS 6.1 · CISA KEV
- CVE-2012-0518 Oracle Fusion Middleware Unspecified VulnerabilityCVSS 4.7 · CISA KEV
- CVE-2026-8323 Open Redirect in Armiya Information Technologies' Access Control SystemCVSS 9.3
- CVE-2025-4123 A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redirectCVSS 6.1
- CVE-2026-1339 Open redirect vulnerability - UCMDB/Operations Bridge ManagerCVSS 5.4
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.