CVE-2025-67716: Auth0 Next.js SDK has Improper Validation of Query Parameters

Published Dec 10, 2025
·
Updated

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: - Applications using the auth0/nextjs-auth0 SDK version prior to 4.13.0

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.

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
npm/@auth0/nextjs-auth0>=4.9.0<4.13.0
4.13.0
Auth0 Nextjs-auth0 Node.js>=4.9.0<4.12.1

Event History

Dec 10, 2025
Advisory Published
via GitHub·09:35 PM
Data Sourced
via GitHub·09:35 PM
DescriptionSeverityWeaknessAffected Software
Dec 11, 2025
CVE Published
via MITRE·12:21 AM
Data Sourced
via MITRE·12:21 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 AM
RemedyAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-67716?

CVE-2025-67716 has a moderate severity level due to its potential to allow OAuth query parameter injection.

2

How do I fix CVE-2025-67716?

To fix CVE-2025-67716, update the @auth0/nextjs-auth0 package to version 4.13.0 or later.

3

Who is affected by CVE-2025-67716?

Users of the @auth0/nextjs-auth0 package versions between 4.9.0 and 4.13.0 are affected by CVE-2025-67716.

4

What impact does CVE-2025-67716 have on my application?

The impact of CVE-2025-67716 includes the risk of issuing tokens with unintended OAuth query parameters, potentially compromising security.

5

Is there a workaround for CVE-2025-67716?

There is no official workaround for CVE-2025-67716; upgrading to the latest version is the recommended solution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203