LiveActive security incident?Get immediate response
CVE Record

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.

MediumCVSS 6.9Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Affected Next.js sites could be abused as a trusted jumping-off point: a crafted link on the legitimate domain may send a user to an attacker-controlled site. The main business risk is phishing using your brand trust, not direct server compromise.

Executive priority

Treat this as a moderate-priority web trust issue. It is unlikely to be a direct breach path by itself, but it can support convincing phishing campaigns using legitimate domains. Upgrade affected Next.js applications promptly, prioritizing public-facing services.

Technical view

Next.js versions below 11.1.0 could allow open redirect behavior with specially encoded paths when pages/_error.js was statically generated. The issue is CWE-601, CVSS 6.9, network reachable, no authentication required, but user interaction and high attack complexity are reflected in the score.

Likely exposure

Exposure is likely in public or internal web applications built with Next.js below 11.1.0, especially if they use a statically generated pages/_error.js. Customer-facing domains carry higher phishing impact because users may trust links from those domains.

Exploitation context

The provided sources do not report active exploitation, and the CVE is not listed as KEV. The advisory frames impact as phishing via redirect from a trusted domain to an external site, generally not direct harm to the application host.

Researcher notes

Evidence is limited to the CVE record, GitHub advisory, and 11.1.0 release reference. Do not assume broader Next.js versions or unrelated redirect behaviors are affected. Validate dependency version and the statically generated pages/_error.js condition before declaring exposure.

Mitigation direction

  • Upgrade affected Next.js applications to version 11.1.0 or later.
  • Review Vercel’s advisory for any environment-specific upgrade guidance.
  • Prioritize externally reachable applications and customer-facing branded domains.
  • After upgrading, redeploy affected applications and confirm the runtime version.
  • Strengthen phishing monitoring for suspicious links using trusted application domains.

Validation and detection

  • Inventory applications and lockfiles for Next.js versions below 11.1.0.
  • Check whether pages/_error.js exists and was statically generated.
  • Confirm deployed builds are running Next.js 11.1.0 or later.
  • Review application logs for unusual redirect-like traffic patterns.
  • Document any remaining legacy deployments awaiting upgrade.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-601: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-37699 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.9CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N1.64.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.9Medium
CVSS 3.1 vector shape for CVE-2021-37699Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
vercelnext.js< 11.1.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-601 · source CWE mapping

URL Redirection to Untrusted Site ('Open Redirect')

URL Redirection to Untrusted Site ('Open Redirect') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.