@auth0/nextjs-auth0
Affected
- introduced
4.9.0, fixed4.13.0(semver)
Fixed versions
4.13.0
Fix
- Fixed version
4.13.0npm install @auth0/[email protected]
Advisory
Also known as: CVE-2025-67716
Improper Validation of Query Parameters in Auth0 Next.js SDK
Description
An input-validation flaw in the returnTo parameter in the Auth0 Next.js SDK 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
Am I Affected?
You are affected if you meet the following preconditions:
Affected product and versions
Auth0/nextjs-auth0 versions >= 4.9.0 and < 4.13.0
Resolution
Upgrade Auth0/nextjs-auth0 version to v4.13.0
Acknowledgements
Okta would like to thank Joshua Rogers (MegaManSec) for their discovery and responsible disclosure.
Low Basis: The source's own band: LOW
4.9.0, fixed 4.13.0 (semver)4.13.0
4.13.0npm install @auth0/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0