Description
Auth0 is an authentication broker that supports both social and enterprise identity providers, including Active Directory, LDAP, Google Apps, and Salesforce. In versions before `11.33.0`, when the “additional signup fields” feature [is configured](https://github.com/auth0/lock#additional-sign-up-fields), a malicious actor can inject invalidated HTML code into these additional fields, which is then stored in the service `user_metdata` payload (using the `name` property). Verification emails, when applicable, are generated using this metadata. It is therefor possible for an actor to craft a malicious link by injecting HTML, which is then rendered as the recipient's name within the delivered email template. You are impacted by this vulnerability if you are using `auth0-lock` version `11.32.2` or lower and are using the “additional signup fields” feature in your application. Upgrade to version `11.33.0`.
Remediation
References
https://github.com/auth0/lock/commit/79ae557d331274b114848150f19832ae341771b1
https://github.com/auth0/lock/security/advisories/GHSA-7ww6-75fj-jcj7
Related Vulnerabilities
CVE-2022-1243 Vulnerability in maven package org.webjars.npm:urijs
CVE-2023-46242 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore
CVE-2020-26237 Vulnerability in npm package highlight.js
CVE-2023-1370 Vulnerability in maven package net.minidev:json-smart
CVE-2023-24162 Vulnerability in maven package cn.hutool:hutool-all