CVE-2025-67716: @auth0/nextjs auth0 Improper Validation Of Query Parameters Vulnerability
LOWCVE-2025-67716 is a LOW (CVSS 3.7) improper validation of query parameters vulnerability (CWE-184: Incomplete List of Disallowed Inputs) affecting @auth0/nextjs auth0 libraries in the npm ecosystem. The issue involves improper validation of query parameters in auth0 next.js sdk. Remediation is available by upgrading affected packages to version 4.13.0.
CVE-2025-67716 at a Glance
Security Impact
CVSS: 3.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N).
How to Fix CVE-2025-67716
To remediate this vulnerability, upgrade all affected @auth0/nextjs auth0 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @auth0/nextjs-auth0@4.13.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @auth0/nextjs-auth0
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-67716, inspect your project dependencies using npm:
npm ls @auth0/nextjs-auth0
Analyze the terminal output to locate any version of @auth0/nextjs auth0 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.13.0), your application is affected.
Note: The npm ls @auth0/nextjs-auth0 command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-184: Incomplete List of Disallowed Inputs, where the product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete. In @auth0/nextjs auth0, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-67716 Affected @auth0/nextjs auth0 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@auth0/nextjs-auth0
|
npm |
≥ 4.9.0
< 4.13.0
|
4.13.0
|
References
Frequently Asked Questions
What is CVE-2025-67716?
Which @auth0/nextjs auth0 versions are affected?
What version fixes CVE-2025-67716?
Is @auth0/nextjs-auth0 affected?
What is the CVSS score of CVE-2025-67716?
What CWE is associated with CVE-2025-67716?
How can I check npm dependencies for CVE-2025-67716?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mr6f-h57v-rpj5",
"modified" : "2025-12-11T15:51:53Z",
"published" : "2025-12-10T21:35:58Z",
"aliases" : [ "CVE-2025-67716" ],
"summary" : "Improper Validation of Query Parameters in Auth0 Next.js SDK",
"details" : "### Description\nAn 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\n\n### Am I Affected?\nYou are affected if you meet the following preconditions:\n- Applications using the auth0/nextjs-auth0 SDK version prior to 4.13.0\n\n### Affected product and versions\nAuth0/nextjs-auth0 versions >= 4.9.0 and < 4.13.0\n\n\n### Resolution\nUpgrade Auth0/nextjs-auth0 version to v4.13.0\n\n### Acknowledgements\nOkta would like to thank Joshua Rogers (MegaManSec) for their discovery and responsible disclosure.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@auth0/nextjs-auth0"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.9.0"
}, {
"fixed" : "4.13.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-mr6f-h57v-rpj5"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-67716"
}, {
"type" : "WEB",
"url" : "https://github.com/auth0/nextjs-auth0/commit/35eb321de3345ccf23e8c0d6f66c9f2f2f57d26c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/auth0/nextjs-auth0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-184" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-10T21:35:58Z",
"nvd_published_at" : "2025-12-11T01:16:00Z"
}
}