GitHub Advisoryadvisory · npm
GHSA-6gg3-pmm7-97xc DOM-based XSS in auth0-lock
LOW
Official page ↗
- Aliases
- CVE-2020-15119
- Ecosystem
- npm
- Packages
- auth0-lock
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2020-08-19
Affected packages
• npm auth0-lock: < 11.26.3 → fixed in 11.26.3
Description
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
Related
Alias · CVE (1)
- CVE-2020-15119 In auth0-lock versions before and including 11.25.1, dangerouslySetInnerHTML is used to update the DOM. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness