{"id":"CVE-2020-15119","aliases":["CVE-2020-15119","GHSA-6gg3-pmm7-97xc"],"related":[],"kind":"vulnerability","state":"published","title":"DOM-based XSS in auth0-lock","summary":"In auth0-lock versions before and including 11.25.1, dangerouslySetInnerHTML is used to update the DOM. When dangerouslySetInnerHTML is used, the application and its users might be exposed to cross-site scripting (XSS) attacks.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In auth0-lock versions before and including 11.25.1, dangerouslySetInnerHTML is used to update the DOM. When dangerouslySetInnerHTML is used, the application and its users might be exposed to cross-site scripting (XSS) attacks.","source":"cvelist"},{"lang":"en","text":"### 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","format":"markdown","source":"ghsa"},{"lang":"es","text":"En auth0-lock versiones anteriores a la 11.25.1 incluyéndola, es usada dangerouslySetInnerHTML para actualizar el DOM. Cuando se utiliza dangerouslySetInnerHTML, la aplicación y sus usuarios pueden estar expuestos a ataques de tipo cross-site scripting (XSS).","source":"nvd"}],"published":"2020-08-19T21:05:03.000Z","modified":"2026-07-08T06:29:08.829Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","score":6.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","score":6.4,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"<= 11.25.1","status":"affected"}],"vendor":"auth0","product":"lock","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"11.26.3"}],"ecosystem":"npm","package":"auth0-lock","purl":"pkg:npm/auth0-lock","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"11.25.1"}],"vendor":"auth0","product":"lock","cpe":"cpe:2.3:a:auth0:lock:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/auth0/lock/security/advisories/GHSA-6gg3-pmm7-97xc","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15119","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/auth0/lock/commit/3711fb5b42afd40073a61a58759251f51e768b1b","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-15119","url":"https://www.cve.org/CVERecord?id=CVE-2020-15119","licence":"CVE Terms of Use","modified":"2024-08-04T13:08:21.963Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6gg3-pmm7-97xc","url":"https://github.com/advisories/GHSA-6gg3-pmm7-97xc","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:08.829Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-15119","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15119","licence":"Public domain","modified":"2026-06-17T02:56:05.380Z"}],"updatedAt":"2026-11-25T22:57:54.300Z","epss":{"score":0.00546,"percentile":0.47206,"date":"2026-12-01T12:00:22.000Z"}}