CVE-2020-15119
JSON

6.4medium

DOM-based XSS in auth0-lock

Severity
6.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.55% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-6gg3-pmm7-97xc

Description

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.

Affected

Product or packageVersionsReported by
auth0 lock<= 11.25.1, up to 11.25.1CVE List, NVD
auth0-lock (npm)before 11.26.3GitHub Advisory Database

All scores

GitHub_M6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
GitHub6.4low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

GitHub Advisory Database
Overview

Versions before and including 11.25.1 are using dangerouslySetInnerHTML to display an informational message when used with a Passwordless or Enterprise connection.

  • For Passwordless connection, the value of the input (email or phone number) is displayed back to the user while waiting for verification code input.
  • 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.

When Passwordless or Enterprise connection is used, the application and its users might be exposed to cross-site scripting (XSS) attacks.

Am I affected?

You are affected by this vulnerability if all of the following conditions apply:

  • You are using auth0-lock
  • You are using Passwordless or Enterprise connection mode
How to fix that?

Upgrade to version 11.26.3

Will this update impact my users?

The fix provided in patch will not affect your users.

Credit

https://github.com/mvisat

NVD (es)

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).

References

Sources

SourceRecordLicence
CVE ListCVE-2020-15119 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-6gg3-pmm7-97xc changed 2026-07-08CC-BY-4.0
NVDCVE-2020-15119 changed 2026-06-17Public domain