CVE-2017-17068: Cross-Origin Vulnerability in auth0-js

auth0-js Updated 02 Oct 2025

Summary

21/12/2017
Yes i
High
7.5

CVE-2017-17068: auth0-js Privilege Escalation Vulnerability. Affects auth0-js versions < 8.12.0. Fixed in 8.12.0. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback