CVE Catalog

CVE-2026-107369

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.23%

12th percentile - higher than 12% of all known CVEs

Summary

The auth0/nextjs-auth0 SDK validates that the returnTo parameter is a same-origin URL. The SDK then stores this value and, in a later step, reconstructs it for the post-authentication redirect. The reconstruction logic can produce a URL that browsers interpret as an absolute or scheme-relative path, leading to a redirect to an unintended domain.

Risk Assessment

An attacker could exploit this vulnerability to redirect the user to a malicious site after authentication, potentially leading to data theft or phishing.

Recommendation

It is recommended to upgrade the auth0/nextjs-auth0 SDK to a version that correctly handles URL reconstruction, and strictly validate the returnTo parameter on the server side.

Related vulnerabilities

Original NVD description (English source)

The auth0/nextjs-auth0 SDK validates that the returnTo parameter is a same-origin URL. The SDK then stores this value and, in a later step, reconstructs it for the post-authentication redirect. The reconstruction logic can produce a URL that browsers interpret as an absolute or scheme-relative path, leading to a redirect to an unintended domain.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS