Description
powertip.ts in Lila (for Lichess) before ab0beaf allows XSS in some applications because of an innerHTML usage pattern in which text is extracted from a DOM node and interpreted as HTML.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')
Product status
Any version before ab0beaf0ad671761705d9274663c5dc450608527
References
github.com/...g/lila/security/advisories/GHSA-9xhx-p3c5-p4v6
github.com/...g/lila/security/advisories/GHSA-9xhx-p3c5-p4v6
github.com/...ommit/ab0beaf0ad671761705d9274663c5dc450608527
github.com/...a0a9271d34bef4f6119e9f/ui/site/src/powertip.ts