Versions <=1.6.1 do not filter out certain returnTo parameter values from the login url, which expose the application to an open redirect vulnerability.
You are affected by this vulnerability if you are using @auth0/nextjs-auth0 version <=1.6.1.
Upgrade to version >=1.6.2
The fix provided in the patch will not affect your users.
{
"severity": "MODERATE",
"github_reviewed": true,
"cwe_ids": [
"CWE-601"
],
"github_reviewed_at": "2021-12-16T18:42:05Z",
"nvd_published_at": "2021-12-16T19:15:00Z"
}