Skip to content

Open Redirect in Next.js versions below 11.1.0

Moderate
timneutkens published GHSA-vxf5-wxwp-m7g9 Aug 11, 2021

Package

npm next (npm)

Affected versions

<=11.0.1

Patched versions

11.1.0

Description

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) are not affected
  • Not affected: Deployments with pages/404.js

We recommend everyone to upgrade regardless of whether you can reproduce the issue or not.

Patches

https://github.com/vercel/next.js/releases/tag/v11.1.0

Severity

Moderate

CVE ID

CVE-2021-37699

Weaknesses

No CWEs