{"id":"CVE-2020-5284","aliases":["CVE-2020-5284","GHSA-fq77-7p7r-83rj"],"related":[],"kind":"vulnerability","state":"published","title":"Directory Traversal in Next.js versions below 9.3.2","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\n- **Not affected**: Deployments on ZEIT Now v2 ([https://zeit.co](https://zeit.co/)) are not affected\n- **Not affected**: Deployments using the `serverless` target\n- **Not affected**: Deployments using `next export`\n- **Affected**: Users of Next.js below 9.3.2\n\nWe recommend everyone to upgrade regardless of whether you can reproduce the issue or not.\n\n### Patches\n\nhttps://github.com/zeit/next.js/releases/tag/v9.3.2\n\n### References\n\nhttps://github.com/zeit/next.js/releases/tag/v9.3.2","format":"markdown","source":"ghsa"},{"lang":"es","text":"Next.js versiones anteriores a 9.3.2, presentan una vulnerabilidad salto de directorio. Los atacantes pueden diseñar peticiones especiales para acceder a los archivos en el directorio dist (.next). Esto no afecta a los archivos fuera del directorio dist (.next). En general, el directorio dist solo contiene activos de compilación a menos que su aplicación almacene intencionalmente otros activos bajo este directorio. Este problema es corregido en la versión 9.3.2.","source":"nvd"}],"published":"2020-03-30T20:40:11.000Z","modified":"2026-09-10T03:48:29.156Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-22","CWE-23"],"affected":[{"ranges":[{"version":"< 9.3.2","status":"affected"}],"vendor":"zeit","product":"next.js","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.9.9","status":"affected","fixed":"9.3.2"}],"ecosystem":"npm","package":"next","purl":"pkg:npm/next","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"9.3.2"}],"vendor":"zeit","product":"next.js","cpe":"cpe:2.3:a:zeit:next.js:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/zeit/next.js/releases/tag/v9.3.2","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5284","tags":["advisory"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1503","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-5284","url":"https://www.cve.org/CVERecord?id=CVE-2020-5284","licence":"CVE Terms of Use","modified":"2024-08-04T08:22:09.087Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fq77-7p7r-83rj","url":"https://github.com/advisories/GHSA-fq77-7p7r-83rj","licence":"CC-BY-4.0","modified":"2026-09-10T03:48:29.156Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-5284","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5284","licence":"Public domain","modified":"2026-06-17T03:21:12.070Z"}],"updatedAt":"2026-11-25T22:57:51.714Z","epss":{"score":0.38927,"percentile":0.98619,"date":"2026-12-01T12:00:22.000Z"}}