CVE-2021-43785Published Nov 26, 2021 · Nov 26Updated Oct 20
Cross Site Scripting Vulnerability in @joeattardi/emoji-button
joeattardi emoji-button
High7.6Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @joeattardi/emoji-button npm |
|
|
Original description
@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.
From the CVE record · GitHub_M