5

CVE-2020-5284: Directory Traversal in Next.js versions below 9.3.2

Modified
AliasesGHSA-fq77-7p7r-83rj
Published 30-03-2020Last modified 04-08-2024

Vulnerability summary

CVE-2020-5284 is a medium (CVSS 5.0) Relative Path Traversal vulnerability in zeit next.js. EPSS estimates a 38.93% chance of exploitation in the next 30 days, higher than 98.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.0/10
010
Medium · v2.0 (NVD)
EPSS score
38.93%
0%100%
High · -5.85 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 30-03-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

38.93%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

Decrease -5.85 pp

From 44.78% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Npm1 product
  • next≥ 0.9.9, < 9.3.2
Zeit1 product

2 vendors · 2 products

References

4 links