@auth0/nextjs-auth0 is vulnerable to URL Redirection to Untrusted Site ('Open Redirect')
72
High Risk
Affected versions of this package are vulnerable to an open redirect due to improper sanitization of the returnTo parameter in the handleLogin function. This allows an attacker to craft malicious URLs that redirect users to arbitrary domains. The issue is a regression introduced in version 4.
You are affected if you are using a version which is within vulnerability ranges
@auth0/nextjs-auth0 is vulnerable to URL Redirection to Untrusted Site ('Open Redirect') in versions 4.0.0 - 4.0.0.
Upgrade the @auth0/nextjs-auth0 library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant