CVE-2020-5284Zeit Next.js
Medium 4.3 High EPSS
Follow: this CVE · Zeit · Zeit Next.js We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Next.js.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| zeit | next.js | < 9.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Third Party Advisory