@joeattardi/emoji-button is a Vanilla JavaScript emoji picker component. In affected versions there are two vectors for XSS attacks: a URL for a custom emoji, and an i18n string. In both of these cases, a value can be crafted such that it can insert a script tag into the page and execute malicious code.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:emoji_button_project:emoji_button:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.6.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "05970c09180cd27fff493e998ac5bf0468b1bb16"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "fe54bef107eb3f74873a4018f2ff49fa124c6a2e"
}
],
"source": "REFERENCES_COMMIT"
}
]
}