CVE-2020-5284

Description

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.

Severity
MEDIUM
CVSS v3
4.4
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N · source cna
Exploit chance (EPSS)
44.776%
chance of exploitation in the next 30 days
higher than 98.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 1

Weakness

Timeline

  1. 2020-03-30Published by the CNA20:40 UTC
  2. 2020-03-30GitHub advisory published (GHSA-fq77-7p7r-83rj)same day

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Nuclei templates:

GitHub advisory GHSA-fq77-7p7r-83rj, affected packages:

PackageVulnerable versionsFixed in
npm nextfrom 0.9.9 before 9.3.29.3.2

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
zeit next.jsbefore 9.3.2fixed in 9.3.29.3.2

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources