Open Redirect Affecting next package, versions <11.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (32nd percentile)

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 Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NEXT-1540422
  • published12 Aug 2021
  • disclosed12 Aug 2021
  • creditUnknown

Introduced: 12 Aug 2021

CVE-2021-37699  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade next to version 11.1.0 or higher.

Overview

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.

References

CVSS Scores

version 3.1