CVE-2020-15125 json
Authorization header is not sanitized in an error object in auth0
published 2020-07-29 6 y ago modified 2026-06-17 4 mo ago also GHSA-5jpf-pj32-xx53 , EUVD-2020-0538
- cvss
- 7.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
In auth0 (npm package) versions before 2.27.1, a DenyList of specific keys that should be sanitized from the request object contained in the error object is used. The key for Authorization header is not sanitized and in certain cases the Authorization header value can be logged exposing a bearer token. You are affected by this vulnerability if you are using the auth0 npm package, and you are using a Machine to Machine application authorized to use Auth0's management API
Patch / fix
- npm auth0 2.27.1
- auth0 auth0.js 2.27.1
- github.com/auth0/node-auth0#507 commit
- github.com/auth0/node-auth0#507 pull request
Exploit prediction
1.54% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| GitHub | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | auth0 | <2.27.1 |
2.27.1 |
Affected products
- auth0 node-auth0
Classification
- Weakness
-
- CWE-209 Generation of Error Message Containing Sensitive Information
References
-
github.com
/auth0/node-auth0/pull/507
web, patch, third-party-advisory
-
github.com
/auth0/node-auth0/pull/507/commits/62ca61b3348ec8e74d7d00358661af1a8bc98a3c
web, patch, third-party-advisory
-
github.com
/auth0/node-auth0/security/advisories/GHSA-5jpf-pj32-xx53
web, third-party-advisory
-
github.com
/auth0/node-auth0/tree/v2.27.1
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-15125
advisory
Sources
- CVE List CVE-2020-15125
- GitHub Advisory GHSA-5jpf-pj32-xx53
- NVD CVE-2020-15125
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.