Live threats

All CVEs / Zeit

CVE-2020-5284Zeit Next.js

Medium 4.3 High EPSS

Priority
30
CVSS 3.1
4.3
EPSS
38.9%
probability of exploitation in 30 days · percentile 99
Auth required
Yes
Published
Mar 30, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-23, CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

Next.js versions before 9.3.2 have a directory traversal vulnerability. Attackers could craft special requests to access files in the dist directory (.next). This does not affect files outside of the dist directory (.next). In general, the dist directory only holds build assets unless your application intentionally stores other assets under this directory. This issue is fixed in version 9.3.2.

Original NVD text.

What to do

  1. Apply the vendor's security update for Next.js.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm next ≥ 0.9.9 < 9.3.2 9.3.2 npm install next@9.3.2

Per OSV / GitHub Advisories (GHSA-fq77-7p7r-83rj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
zeitnext.js< 9.3.2

Official sources

References

Links published by the sources. Open them with care.