{"id":"CVE-2020-15125","aliases":[],"url":"https://o3.security/vulnerability/CVE-2020-15125","summary":"Authorization header is not sanitized in an error object in auth0","details":"### Overview\nVersions before and including `2.27.0` use a block list of specific keys that should be sanitized from the request object contained in the error object.  When a request to Auth0 management API fails, the key for `Authorization` header is not sanitized and the `Authorization` header value can be logged exposing a bearer token.\n\n### Am I affected?\nYou are affected by this vulnerability if all of the following conditions apply:\n\n- You are using `auth0` npm package\n- You are using a Machine to Machine application authorized to use Auth0's management API https://auth0.com/docs/flows/concepts/client-credentials\n\n### How to fix that?\nUpgrade to version `2.27.1`\n\n### Will this update impact my users?\nThe fix provided in patch will not affect your users.\n\n### Credit\nhttp://github.com/osdiab","published":"2020-07-29T16:26:22Z","modified":"2026-05-04T08:46:05.262794424Z","cvss":{"score":7.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"auth0","fixedVersion":"2.27.1"}],"fix":{"url":"https://github.com/auth0/node-auth0/pull/507","label":"auth0/node-auth0#507"},"references":[{"type":"WEB","url":"https://github.com/auth0/node-auth0/security/advisories/GHSA-5jpf-pj32-xx53"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15125"},{"type":"WEB","url":"https://github.com/auth0/node-auth0/pull/507"},{"type":"WEB","url":"https://github.com/auth0/node-auth0/pull/507/commits/62ca61b3348ec8e74d7d00358661af1a8bc98a3c"},{"type":"WEB","url":"https://github.com/auth0/node-auth0/tree/v2.27.1"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-05-04T08:46:05.262794424Z"}}