Open Redirect Affecting next package, versions <11.1.0



    Attack Complexity High
    User Interaction Required
    Scope Changed

    Threat Intelligence

    EPSS 0.07% (29th percentile)
Expand this section
6.1 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-NEXT-1540422
  • published 12 Aug 2021
  • disclosed 12 Aug 2021
  • credit Unknown

How to fix?

Upgrade next to version 11.1.0 or higher.


next is a react framework.

Affected versions of this package are vulnerable to Open Redirect. Specially encoded paths could be used when pages/_error.js was statically generated, allowing an open redirect to occur to an external site. In general, this redirect does not directly harm users, though it can allow for phishing attacks by redirecting to an attacker's domain from a trusted domain.