GHSA-6gg3-pmm7-97xc

Suggest an improvement
Source
https://github.com/advisories/GHSA-6gg3-pmm7-97xc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/08/GHSA-6gg3-pmm7-97xc/GHSA-6gg3-pmm7-97xc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6gg3-pmm7-97xc
Aliases
Published
2020-08-19T21:05:03Z
Modified
2026-07-08T06:29:08Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
Summary
DOM-based XSS in auth0-lock
Details

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

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-19T21:02:01Z",
    "nvd_published_at":  null,
    "severity":  "LOW"
}
References

Affected packages

npm / auth0-lock

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
11.26.3

Database specific

last_known_affected_version_range
"<= 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"