CVE-2018-6874 — auth0-js
HIGHCVE-2018-6874 is a high-severity (CVSS 8.8) Cross-Site Request Forgery (CSRF) vulnerability in auth0-js. A fix is available for auth0-js — see the affected versions and patch details below.
Cross-Site Request Forgery (CSRF) in Auth0
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
auth0-jsnpmDescription
CSRF exists in the Auth0 authentication service through 14591 if the Legacy Lock API flag is enabled.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | auth0-js | all versions | 9.0.0npm install auth0-js@9.0.0 |
Affected Products
auth0.jsauth0Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for auth0-js, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update auth0-js to 9.0.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-6874 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2018-6874 in your dependencies?
Find it across npm, including transitive dependencies.