Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
5.7

CVE-2025-67716: Auth0 Next.js SDK may allow altered login redirects

CVE-2025-67716 · published 10 months ago
Summary

Versions 4.9.0 through 4.12.1 of the Auth0 Next.js SDK do not correctly check the returnTo parameter, so an attacker could add extra data to the login redirect URL. This could cause authentication tokens to be issued with unexpected values. Update to version 4.13.0 or later to resolve the issue.

What to do
  • Update auth0 nextjs-auth0 to version 4.13.0.
Affected software
Ecosystem VendorProductAffected versions
– auth0 nextjs-auth0 >= 4.9.0, < 4.12.1
cpe:2.3:a:auth0:nextjs-auth0:*:*:*:*:*:node.js:*:*
npm auth0 nextjs-auth0 >= 4.9.0, < 4.13.0
Fix: upgrade to 4.13.0
Original advisory text
Auth0 Next.js SDK has Improper Validation of Query Parameters
The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications. Versions 4.9.0 through 4.12.1 contain an input-validation flaw in the returnTo parameter, which could allow attackers to inject unintended OAuth query parameters into the Auth0 authorization request. Successful exploitation may result in tokens being issued with unintended parameters. This issue is fixed in version 4.13.0.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
5.7 Medium
Exploitation
<1% chance of attack within 30 days
Type
CWE-184Incomplete List of Disallowed Inputs
Timeline
Published11 Dec 2025
Updated4 Nov 2026
First seen6 Mar 2026
Sources
Track software like this
Free during beta