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
- NextJS-Auth0 SDK Vulnerable to CDN Caching of Session Cookies - CVE-2025-48947
- Auth0 NextJS SDK v4 Missing Session Invalidation - CVE-2025-46344
- Open redirect in karma - CVE-2021-23495
- Oils JS vulnerable to Open Redirect - CVE-2021-4260
- Tags:
- npm
- @auth0/nextjs-auth0
Anything's wrong? Let us know Last updated on February 01, 2023