VDB
Sign up
HIGH7.5

GHSA-3f5c-4qxj-vmpf

Next.js Directory Traversal Vulnerability

Quick fix

GHSA-3f5c-4qxj-vmpf — next: upgrade to the fixed version with the command below.

npm install next@2.4.1

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/next
Introduced in: 1.0.0Fixed in: 2.4.1
Fixnpm install next@2.4.1

References