Skip to main content
← All vulnerabilities
CVE-2021-37699GHSA-VXF5-WXWP-M7G9

Open Redirect in Next.js versions below 11.1.0

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 11.1.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • vercel next.js

    fixed in 11.1.0

  • nextnpm

    From 0.9.9 · fixed in 11.1.0

References 2

GitHub · vercel/next.js