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
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/auth0/nextjs-auth0/commit/35eb321de3345ccf23e8c0d6f66c9f2f2f57d26c Patch
- https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-mr6f-h57v-rpj5 Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.7 · auth0NVD modified 2026-10-14 20:10
Affected (CPE criteria) 1
cpe:2.3:a:auth0:nextjs-auth0:*:*:*:*:*:node.js:*:*