Description
Auth0 Lock version 11.20.4 and earlier did not properly sanitize the generated HTML code. Customers using the additionalSignUpFields customization option to add a checkbox to the sign-up dialog that are passing a placeholder property obtained from an untrusted source (e.g.
Recommendation
Update the auth0-lock package to the latest compatible version. Followings are version details:
- Affected version(s): < 11.21.0
- Patched version(s): 11.21.0
References
Could your website be exposed too?
SmartScanner can check your website for auth0-lock vulnerable to XSS via unsanitized placeholder property and gives you actionable findings to investigate.
Start a free scanRelated Issues
- DOM-based XSS in auth0-lock - CVE-2020-15119
- sanitize-html is vulnerable to XSS through incomprehensive sanitization - CVE-2019-25225
- open-webui Vulnerable to Stored XSS via Model Description - CVE-2026-44721
- Bootstrap Multiselect Vulnerable to CSRF and Reflective XSS via Arbitrary POST Data - CVE-2025-47204


