{"id":"CVE-2020-15119","aliases":["GHSA-6gg3-pmm7-97xc"],"url":"https://o3.security/vulnerability/CVE-2020-15119","summary":"DOM-based XSS in auth0-lock","details":"### Overview\nVersions before and including `11.25.1` are using `dangerouslySetInnerHTML` to display an informational message when used with a Passwordless or Enterprise connection.\n\n- For Passwordless connection, the value of the input (email or phone number) is displayed back to the user while waiting for verification code input.  \n- For Enterprise connection, the value of the input (IdP Domain) from the Enterprise connection setup screen (Auth0 Dashboard) is displayed back to the user when the `lock` widget opens.\n\nWhen Passwordless or Enterprise connection is used, the application and its users might be exposed to cross-site scripting (XSS) attacks.\n\n### Am I affected?\nYou are affected by this vulnerability if all of the following conditions apply:\n\n- You are using auth0-lock\n- You are using Passwordless or Enterprise connection mode\n\n### How to fix that?\nUpgrade to version `11.26.3`\n\n### Will this update impact my users?\nThe fix provided in patch will not affect your users.\n\n### Credit\nhttps://github.com/mvisat","published":"2020-08-20T01:17:11.680Z","modified":"2026-07-09T10:52:38.701273Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"auth0-lock","fixedVersion":"11.26.3"}],"fix":{"url":"https://github.com/auth0/lock/commit/3711fb5b42afd40073a61a58759251f51e768b1b","label":"auth0/lock@3711fb5"},"references":[{"type":"ADVISORY","url":"https://github.com/auth0/lock/security/advisories/GHSA-6gg3-pmm7-97xc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15119"},{"type":"WEB","url":"https://github.com/auth0/lock/commit/3711fb5b42afd40073a61a58759251f51e768b1b"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T10:52:38.701273Z"}}