Advisory

GHSA-6gg3-pmm7-97xc

Also known as: CVE-2020-15119

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

Severity

Low Basis: The source's own band: LOW

Dates

Published
2020-08-19 21:05 UTC
Modified
2026-07-08 06:29 UTC

Affected packages and fixes

auth0-lock

npm · All systems

Affected

  • introduced 0, fixed 11.26.3 (semver)

Fixed versions

11.26.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences