CVE-2020-5284

CVE-2020-5284 is a medium-severity vulnerability in Zeit Next.js with a CVSS 3.x base score of 4.4. Its EPSS exploit-prediction score of 43% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-22.

Key facts

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.

Frequently asked questions

What is CVE-2020-5284?
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.
How severe is CVE-2020-5284?
CVE-2020-5284 has a CVSS 3.x base score of 4.4, rated medium severity. It is exploitable over network with high attack complexity, requires low privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2020-5284 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 43% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2020-5284?
CVE-2020-5284 affects Zeit Next.js. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2020-5284?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2020-5284 published?
CVE-2020-5284 was published on 2020-03-30 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Zeit Next.js

All CVEs affecting Zeit Next.js →

Other CWE-22 (Path Traversal) vulnerabilities

Browse all CWE-22 (Path Traversal) vulnerabilities →