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 | Vendor | Product | Affected 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.
References
- https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-mr6f-h57v-rpj5 Vendor Advisory
- https://github.com/auth0/nextjs-auth0/commit/35eb321de3345ccf23e8c0d6f66c9f2f2f5... Patch
- https://github.com/advisories/GHSA-mr6f-h57v-rpj5
- https://nvd.nist.gov/vuln/detail/CVE-2025-67716 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67716... Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-184Incomplete List of Disallowed Inputs
Timeline
Published11 Dec 2025
Updated4 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta