CVE-2018-6874: Cross-Site Request Forgery (CSRF) in Auth0

auth0-js Updated 02 Oct 2025

Summary

06/11/2018
Yes i
High
8.8

CVE-2018-6874: Cross-Site Request Forgery (CSRF) in Auth0. Affects auth0-js versions < 9.0.0. Fixed in 9.0.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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Auth0 is an authentication service that provides secure user authentication and authorization for applications. It offers various features such as single sign-on, social login integration, and multi-factor authentication. The vulnerability identified as CVE-2018-6874 affects the Auth0 authentication service when the Legacy Lock API flag is enabled.

Vulnerability Detail

The vulnerability is a Cross-Site Request Forgery (CSRF) issue that allows an attacker to trick a user into performing unintended actions on the Auth0 authentication service. This can lead to unauthorized access, data leakage, and potential account compromise. The vulnerability has a CVSS score of 8.8, indicating a high severity level.

How To Fix

Minimum fixed version

9.0.0

This is the first release that contains the fix.

npm install auth0-js@9.0.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. It is crucial to update the 'auth0-js' package to the recommended version to address the CSRF vulnerability effectively.

Conclusion

The vulnerability CVE-2018-6874 in the 'auth0-js' package poses a significant risk to the security of applications utilizing the Auth0 authentication service. To mitigate this vulnerability, it is crucial to update the package to version 9.0.0 or above. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for auth0-js →

Share this vulnerability

FAQ

The vulnerability allows an attacker to perform unauthorized actions on the Auth0 authentication service, potentially leading to account compromise and data leakage.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. It analyzes the package-lock.json file to identify any open-source vulnerabilities in the software.

Yes, updating the 'auth0-js' package to version 9.0.0 or above fixes the vulnerability by implementing necessary security patches.

There are no known public exploits for this vulnerability at the time of this report. However, it is crucial to address the vulnerability promptly to prevent any potential exploitation.

No, updating the 'auth0-js' package is the recommended and most effective way to mitigate the CSRF vulnerability. It ensures that the Legacy Lock API flag is properly handled and prevents unauthorized actions.

Related vulnerabilities

Recent vulnerabilities recorded for auth0-js.

How To Fix

Minimum fixed version

9.0.0

This is the first release that contains the fix.

npm install auth0-js@9.0.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