cve.bz

CVE-2021-37699 vercel next.js: Open Redirect

6.1 mediumEPSS 1.0%Fix available

Medium (6.1) in vercel next.js. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in next 11.1.0.

On this page
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.

Severity

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
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • next (npm): fixed in 11.1.0

Ask an AI about this CVE

Show the promptExplain CVE-2021-37699 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-37699?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-37699?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-37699 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vercel:next.jsfrom 10.0.5 through 10.2.0
vercel:next.jsfrom 11.0.0 through 11.0.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vxf5-wxwp-m7g9npmnext>=0.9.9 <11.1.011.1.0

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON