Auth0 Next.js SDK has Improper Validation of Query Parameters
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| auth0 | nextjs-auth0 | 4.9.0 to before 4.13.0 | 4.13.0 | Patch available | CNA |
| — | @auth0/nextjs-auth0 (npm) | 4.9.0 to before 4.13.0 | 4.13.0 | Patch available | GHSA-mr6f-h57v-rpj5 |
- nextjs-auth0 Vendorauth0 Affected 4.9.0 to before 4.13.0 Fixed in 4.13.0 Patch available CNA
- @auth0/nextjs-auth0 (npm) Vendor— Affected 4.9.0 to before 4.13.0 Fixed in 4.13.0 Patch available GHSA-mr6f-h57v-rpj5
Remediation
- Fix · CNA nextjs-auth0 (auth0) Fixed in 4.13.0
- Fix · GHSA-mr6f-h57v-rpj5 @auth0/nextjs-auth0 (npm) Fixed in 4.13.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-67716
- 2026-10-03 Alias added: GHSA-mr6f-h57v-rpj5
References
More auth0 Nextjs-auth0 vulnerabilities
- TI-2021-12370 Reflected XSS from the callback handler's error query parameter CVSS 3.1HIGH 8.0
- TI-2021-19618 Open redirect in nextjs-auth0 CVSS 3.1MEDIUM 6.4
- TI-2026-28970 Auth0 Next.js SDK has Improper Proxy Cache Lookup CVSS 3.1MEDIUM 5.4
- TI-2025-41249 Auth0 Next.js SDK has Improper Request Caching Lookup CVSS 3.1MEDIUM 5.4
Sources
- CVE-2025-67716 · CVE Program
- CVE-2025-67716 · NVD
- FIRST EPSS
- GHSA-mr6f-h57v-rpj5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences