Vulnerabilities in pkg:npm/auth0-js
PACKAGECVE-2026-42280 is a HIGH (CVSS 7.1) auth.js sdk has improper permission vulnerability (CWE-863: Incorrect Authorization) affecting Auth0 js libraries in the npm ecosystem. The issue involves auth.js sdk has improper permission checking. Remediation is available by upgrading affected packages to version 10.0.0.
pkg:npm/auth0-js
Vulnerability advisories affecting package pkg:npm/auth0-js. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-8qjv-jj2q-x832 | CVE-2026-42280 | HIGH | Auth.js SDK has Improper Permission Checking |
| GHSA-3rpr-mg43-xhq4 | CVE-2017-17068 | HIGH | auth0-js Privilege Escalation Vulnerability |
| GHSA-wv26-rj8c-4r33 | CVE-2018-6874 | HIGH | Cross-Site Request Forgery (CSRF) in Auth0 |
| GHSA-wpq7-q8j4-72jg | CVE-2018-7307 | HIGH | Auth0-js bypasses CSRF checks |
| GHSA-prfq-f66g-43mp | CVE-2020-5263 | HIGH | Information disclosure through error object in auth0.js |
CVE-2026-42280 at a Glance
Security Impact
CVSS: 7.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N).
How to Fix CVE-2026-42280
To remediate this vulnerability, upgrade all affected Auth0 js 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-js@10.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls auth0-js
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-42280, inspect your project dependencies using npm:
npm ls auth0-js
Analyze the terminal output to locate any version of Auth0 js in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.0.0), your application is affected.
Note: The npm ls auth0-js 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Auth0 js, 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-2026-42280 Affected Auth0 js Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
auth0-js
|
npm |
≥ 8.11.0
< 10.0.0
|
10.0.0
|
References
Frequently Asked Questions
What is CVE-2026-42280?
Which Auth0 js versions are affected?
What version fixes CVE-2026-42280?
Is auth0-js affected?
What is the CVSS score of CVE-2026-42280?
What CWE is associated with CVE-2026-42280?
How can I check npm dependencies for CVE-2026-42280?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8qjv-jj2q-x832",
"modified" : "2026-06-08T23:41:42Z",
"published" : "2026-05-06T17:05:14Z",
"aliases" : [ "CVE-2026-42280" ],
"summary" : "Auth.js SDK has Improper Permission Checking",
"details" : "### Description\nUnder specific preconditions, the Auth0.js SDK may improperly return user profile information using a valid access token when a specifically crafted invalid ID token is provided.\n\n### Am I Affected?\nUsers are affected if they meet each of the following preconditions:\n- Applications built using Auth0.js version between 8.11.0 and 9.32.0\n- The application’s access control relies on rules defined in Auth0 Actions.\n\n\n### Affected product and versions\nauth0.js SDK v8.11.0 to v9.32.0\n\n### Resolution\nUpgrade auth0/auth0.js to v10.0.0 or greater.\n\n### Acknowledgements\nOkta would like to thank Quan Le (@aleister1102) for their discovery and responsible disclosure.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "auth0-js"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.11.0"
}, {
"fixed" : "10.0.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 9.32.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/auth0/auth0.js/security/advisories/GHSA-8qjv-jj2q-x832"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-42280"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/auth0/auth0.js"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-06T17:05:14Z",
"nvd_published_at" : "2026-05-27T15:16:27Z"
}
}