Description
In auth0-lock versions before and including 11.25.1, dangerouslySetInnerHTML is used to update the DOM. When dangerouslySetInnerHTML is used, the application and its users might be exposed to cross-site scripting (XSS) attacks.
Remediation
References
https://github.com/auth0/lock/security/advisories/GHSA-6gg3-pmm7-97xc
Related Vulnerabilities
CVE-2020-36381 Vulnerability in npm package aaptjs
CVE-2021-25941 Vulnerability in npm package deep-override
CVE-2021-3807 Vulnerability in npm package ansi-regex
CVE-2020-5529 Vulnerability in maven package net.sourceforge.htmlunit:htmlunit
CVE-2022-29631 Vulnerability in maven package org.jodd:jodd-http