Open Redirect Affecting @auth0/nextjs-auth0 package, versions <4.32.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (13th 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-AUTH0NEXTJSAUTH0-20936946
  • published14 Oct 2026
  • disclosed13 Oct 2026
  • creditUnknown

Introduced: 13 Oct 2026

NewCVE-2026-107369  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade @auth0/nextjs-auth0 to version 4.32.0 or higher.

Overview

@auth0/nextjs-auth0 is a Next.js SDK for signing in with Auth0

Affected versions of this package are vulnerable to Open Redirect via the returnTo parameter, where the SDK validates it as a same-origin URL but the subsequent reconstruction logic can produce a URL that browsers interpret as an absolute or scheme-relative path. An attacker can craft a link that initiates an authentication flow with a malicious returnTo value, causing the post-authentication redirect to send the user to an unintended external domain.

Note: This is only exploitable when a user initiates an authentication flow using a link configured with a custom returnTo parameter.

CVSS Base Scores

version 4.0
version 3.1