CVE-2025-67716 Auth0 Next.js SDK has Improper Validation of Query Parameters
MediumCVSS 5.7
EPSS 0.28%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| auth0 @auth0/nextjs-auth0 | = >= 4.9.0, < 4.13.0; >= 4.9.0, < 4.12.1 | 4.12.1 | Fixed |
| auth0 @auth0/nextjs-auth0(npm) | >= 4.9.0, < 4.13.0 | 4.13.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| auth0 @auth0/nextjs-auth0(npm) | >= 4.9.0, < 4.13.0 | 4.13.0 |
| auth0 @auth0/nextjs-auth0 | = >= 4.9.0, < 4.13.0 | No fix listed |
| auth0 @auth0/nextjs-auth0 | >= 4.9.0, < 4.12.1 | 4.12.1 |
References
- https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-mr6f-h57v-rpj5 vendor-advisory
- https://github.com/auth0/nextjs-auth0/commit/35eb321de3345ccf23e8c0d6f66c9f2f2f57d26c patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product