Description
auth0-lock is Auth0's signin solution. Versions of nauth0-lock before and including `11.30.0` are vulnerable to reflected XSS. An attacker can execute arbitrary code when the library's `flashMessage` feature is utilized and user input or data from URL parameters is incorporated into the `flashMessage` or the library's `languageDictionary` feature is utilized and user input or data from URL parameters is incorporated into the `languageDictionary`. The vulnerability is patched in version 11.30.1.
Remediation
References
https://github.com/auth0/lock/commit/d139cf01c8234b07caf265e051f39d3eab08f7ed
https://github.com/auth0/lock/releases/tag/v11.30.1
https://github.com/auth0/lock/security/advisories/GHSA-jr3j-whm4-9wwm
Related Vulnerabilities
CVE-2020-26289 Vulnerability in npm package date-and-time
CVE-2021-23337 Vulnerability in maven package org.webjars.npm:lodash.template
CVE-2021-32660 Vulnerability in npm package techdocs-common
CVE-2018-21268 Vulnerability in npm package traceroute
CVE-2022-41340 Vulnerability in npm package @lionello/secp256k1-js