Name of the Vulnerable Software and Affected Versions:
@joeattardi/emoji-button versions prior to 4.6.2
Description:
The issue concerns two vectors for XSS attacks: a URL for a custom emoji and an i18n string. In both cases, a crafted value can insert a `script` tag into the page and execute malicious code.
Recommendations:
For versions prior to 4.6.2, upgrade to version 4.6.2 or later, which properly escapes strings inserted into the HTML document to resolve the issue.