VDB
Sign up
MEDIUM6.1

GHSA-qw96-mm2g-c8m7

Next.js has cross site scripting (XSS) vulnerability via the 404 or 500 /_error page

Quick fix

GHSA-qw96-mm2g-c8m7 — next: upgrade to the fixed version with the command below.

npm install next@7.0.2

Details

Next.js 7.0.0 and 7.0.1 has XSS via the 404 or 500 /_error page.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/next
Introduced in: 7.0.0Fixed in: 7.0.2
Fixnpm install next@7.0.2

References