Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. next
  4. ›
  5. CVE-2020-5284

CVE-2020-5284: Directory Traversal in Next.js

March 30, 2020 (updated September 26, 2025)

  • Not affected: Deployments on ZEIT Now v2 (https://zeit.co) are not affected
  • Not affected: Deployments using the serverless target
  • Not affected: Deployments using next export
  • Affected: Users of Next.js below 9.3.2

We recommend everyone to upgrade regardless of whether you can reproduce the issue or not.

References

  • github.com/advisories/GHSA-fq77-7p7r-83rj
  • github.com/zeit/next.js/releases/tag/v9.3.2
  • github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj
  • nvd.nist.gov/vuln/detail/CVE-2020-5284
  • www.npmjs.com/advisories/1503

Code Behaviors & Features

Detect and mitigate CVE-2020-5284 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.9.9 before 9.3.2

Fixed versions

  • 9.3.2

Solution

Upgrade to version 9.3.2 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-23: Relative Path Traversal

Source file

npm/next/CVE-2020-5284.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:01 +0000.