{"id":"GHSA-6gg3-pmm7-97xc","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","aliases":["CVE-2020-15119"],"modified":"2026-07-08T06:29:08.829297326Z","published":"2020-08-19T21:05:03Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2020-08-19T21:02:01Z","nvd_published_at":null},"references":[{"type":"WEB","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"}],"affected":[{"package":{"name":"auth0-lock","ecosystem":"npm","purl":"pkg:npm/auth0-lock"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"11.26.3"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 11.25.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/08/GHSA-6gg3-pmm7-97xc/GHSA-6gg3-pmm7-97xc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N"}]}