MediumGHSA-x56p-c8cg-q435CVE-2020-15242
Open Redirect in Next.js versions
Published 8 Oct 2020 · Updated 10 Sept 2026
Affected package
nextnpm
- Affected
- >=9.5.0 <9.5.4
- Fixed in
- 9.5.4
Update to the fixed version for your release line, for example:
npm install next@9.5.4Details
Impact
- Affected: Users of Next.js between 9.5.0 and 9.5.3
- Not affected: Deployments on Vercel (https://vercel.com) are not affected
- Not affected: Deployments using
next export
We recommend everyone to upgrade regardless of whether you can reproduce the issue or not.
Patches
https://github.com/vercel/next.js/releases/tag/v9.5.4
References
https://github.com/vercel/next.js/releases/tag/v9.5.4
Is GHSA-x56p-c8cg-q435 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected next, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.