CVE-2017-17068: Cross-Origin Vulnerability in auth0-js
Summary
CVE-2017-17068: auth0-js Privilege Escalation Vulnerability. Affects auth0-js versions < 8.12.0. Fixed in 8.12.0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The auth0-js library is an npm package that provides authentication and authorization services for web applications. It allows developers to integrate Auth0's authentication functionality into their applications easily. The library supports various authentication methods, including social logins, username/password authentication, and multi-factor authentication. However, versions prior to 8.12.0 are vulnerable to a cross-origin vulnerability.
Vulnerability Detail
The identified vulnerability in auth0-js versions prior to 8.12.0 is a cross-origin vulnerability. When a target site or application uses a popup callback page with the auth0.popup.callback() function, an attacker can exploit this vulnerability to acquire authenticated users' tokens and invoke services on their behalf. This can lead to unauthorized access to sensitive user data and potential misuse of user accounts.
How To Fix
Latest published version: 10.3.0 as of 22 Oct 2026
npm install auth0-js@10.3.0
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
8.12.0
This is the first release that contains the fix.
npm install auth0-js@8.12.0
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. However, developers can mitigate the risk by avoiding the use of popup callback pages with auth0.popup.callback() and instead use alternative authentication methods provided by the library.
Conclusion
The cross-origin vulnerability in auth0-js versions prior to 8.12.0 can lead to unauthorized access to user data and misuse of user accounts. To mitigate this risk, developers should update their auth0-js package to version 8.12.0 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for auth0-js →
FAQ
auth0-js is an npm package that provides authentication and authorization services for web applications. It simplifies the integration of Auth0's authentication functionality into applications.
Versions of auth0-js prior to 8.12.0 are affected by this vulnerability.
This vulnerability allows an attacker to acquire authenticated users' tokens and invoke services on their behalf, potentially leading to unauthorized access to sensitive user data and misuse of user accounts.
To fix this vulnerability, update the auth0-js package to version 8.12.0 or later by updating the package version in the project's package.json file and running the package manager's update command.
While there is no specific workaround mentioned, developers can mitigate the risk by avoiding the use of popup callback pages with auth0.popup.callback() and using alternative authentication methods provided by the library.
Related vulnerabilities
Recent vulnerabilities recorded for auth0-js.