Security context
Medium· 6.1GHSA-qw96-mm2g-c8m7 CVE-2018-18282CWE-79Published Oct 15, 2018

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

Research this vulnerability

Research is free — Hunters explains how the bug works, the root-cause code pattern, how the fix addresses it, and how to test whether a target is affected, in chat. Investigate & write exploit is a paid run — the engine reads the advisory and fix commits, then builds and validates a working proof-of-concept exploit with reproduction steps.

Affected versions

7.0.0 → fixed in 7.0.2

Details

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

The fix

No fix commit could be resolved for this advisory (it may reference an issue tracker or a non-GitHub patch). See the references below.

References