# CVE-2020-15125: Authorization header is not sanitized in an error object in auth0

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.54%, higher than 75% of CVEs (2026-12-01)
- Published: 2020-07-29T16:25:15.000Z
- Modified: 2026-06-17T02:56:05.993Z
- Also known as: GHSA-5jpf-pj32-xx53
- Weaknesses: CWE-209
- Assigned by: GitHub_M

## Description

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

(As written by CVE List.)

## Affected

- auth0 node-auth0: < 2.27.1
- auth0 (npm): before 2.27.1
- auth0 auth0.js: before 2.27.1

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://github.com/auth0/node-auth0/security/advisories/GHSA-5jpf-pj32-xx53> (third-party-advisory, web)
- <https://github.com/auth0/node-auth0/pull/507> (patch, third-party-advisory, web)
- <https://github.com/auth0/node-auth0/pull/507/commits/62ca61b3348ec8e74d7d00358661af1a8bc98a3c> (patch, third-party-advisory, web)
- <https://github.com/auth0/node-auth0/tree/v2.27.1> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15125> (advisory)

## Sources

- CVE List: [CVE-2020-15125](https://www.cve.org/CVERecord?id=CVE-2020-15125), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-5jpf-pj32-xx53](https://github.com/advisories/GHSA-5jpf-pj32-xx53), CC-BY-4.0, modified 2026-05-04
- NVD: [CVE-2020-15125](https://nvd.nist.gov/vuln/detail/CVE-2020-15125), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15125 · Whole record: https://cve.day/CVE-2020-15125.json · Rebuilt by cve.day 2026-11-25T22:57:53.687Z
