Skip to content

Next.js Directory Traversal Vulnerability

High severity GitHub Reviewed Published Dec 5, 2017 to the GitHub Advisory Database • Updated Apr 22, 2024

Package

npm next (npm)

Affected versions

>= 1.0.0, < 2.4.1

Patched versions

2.4.1

Description

Next.js before 2.4.1 has directory traversal under the /_next and /static request namespace, allowing attackers to obtain sensitive information.

References

Published by the National Vulnerability Database Nov 17, 2017
Published to the GitHub Advisory Database Dec 5, 2017
Reviewed Jun 16, 2020
Last updated Apr 22, 2024

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2017-16877

GHSA ID

GHSA-3f5c-4qxj-vmpf

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.