Description
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.
Recommendation
Update the @auth0/nextjs-auth0 package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.6.2
- Patched version(s): 1.6.2
References
Related Issues
- Oils JS vulnerable to Open Redirect - CVE-2021-4260
- Open redirect in url-parse (GHSA-hh27-ffr2-f2jc) - CVE-2021-3664
- Auth0 NextJS SDK v4 Missing Session Invalidation - CVE-2025-46344
- Open redirect in karma - CVE-2021-23495
You might also like:
- Tags:
- npm
- @auth0/nextjs-auth0
Anything's wrong? Let us know Last updated on February 01, 2023


