CVE-2020-5284
MEDIUM 4.3CVSS 3.1Directory Traversal in Next.js
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.
- Published
- 30 Mar 2020
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22CWE-23
- Also known as
- GHSA-fq77-7p7r-83rj
- Sources
- NVDJSONOSV GHSA-fq77-7p7r-83rjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | zeit | next.jscpe:2.3:a:zeit:next.js:*:*:*:*:*:*:*:* |
< 9.3.2 | 9.3.2 |
| OSV | npm | next | >= 0.9.9, < 9.3.2 | 9.3.2 |
References
- https://github.com/zeit/next.js/releases/tag/v9.3.2 · Release Notes, WEB
- https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-5284 · ADVISORY
- https://www.npmjs.com/advisories/1503 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 30 Mar 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Mar 2020)