Live threats

All CVEs / Vercel

CVE-2020-15242Vercel Next.js

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 57
Auth required
No
Published
Oct 8, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

Next.js versions >=9.5.0 and <9.5.4 are vulnerable to an Open Redirect. Specially encoded paths could be used with the trailing slash redirect to allow 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 attackers domain from a trusted domain. The issue is fixed in version 9.5.4.

Original NVD text.

What to do

  1. Apply the vendor's security update for Next.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm next ≥ 9.5.0 < 9.5.4 9.5.4 npm install next@9.5.4

Per OSV / GitHub Advisories (GHSA-x56p-c8cg-q435). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vercelnext.js≥ 9.5.0 < 9.5.4

Official sources

References

Links published by the sources. Open them with care.