Feed
6.9MEDIUM

CVE-2021-37699Open Redirect in Next.js

A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 1.0% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
1.0%
percentile 63%
Priority
19/100 low
how it is computed
Fix
Named by a source
CVE published 12 Aug 2021

Reference

None of the "Needs attention" rules apply right now.

EPSS 1.0% (+1) · Network attack vector (+10) · No privileges required (+5)

Immediate actions

  • next (npm): upgrade to 11.1.0 or later on your release line.

Who should check

  • next (npm) pkg:npm/next

    • Affected>= 0.9.9, < 11.1.0Fixed in11.1.0OSV (GHSA-vxf5-wxwp-m7g9)

Confirmed facts

CVSS
6.9 MEDIUM (version 3.1)
Score from
GitHub Advisory Database (GHSA-vxf5-wxwp-m7g9)
Attack vector
network
Attack complexity
high
Privileges required
none
User interaction
required
Weakness
CWE-601

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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 it can allow for phishing attacks by redirecting to an attacker's domain from a trusted domain. ### Impact - **Affected:** Users of Next.js between `10.0.5` and `10.2.0` - **Affected:** Users of Next.js between `11.0.0` and `11.0.1` using `pages/_error.js` without `getInitialProps` - **Affected:** Users of Next.js between `11.0.0` and `11.0.1` using `pages/_error.js` and `next export` - **Not affected**: Deployments on Vercel ([vercel.com](https://vercel.com)) are not affected - **Not affected:** Deployments **with** `pages/404.js` - Note that versions prior to 0.9.9 package `next` npm package hosted a different utility (0.4.1 being the latest version of that codebase), and this advisory does not apply to those versions. We recommend upgrading to the latest version of Next.js to improve the overall security of your application. ### Patches https://github.com/vercel/next.js/releases/tag/v11.1.0

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 47 min ago · osv 47 min ago · nvd 47 min ago · epss 47 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-vxf5-wxwp-m7g9