CVE-2021-43785 Cross Site Scripting Vulnerability in @joeattardi/emoji-button
MediumCVSS 6.1
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| emoji button project emoji button | < 4.6.2 | 4.6.2 | Fixed |
| joeattardi @joeattardi/emoji-button(npm) | < 4.6.2 | 4.6.2 | Fixed |
| joeattardi @joeattardi/emoji-button | = < 4.6.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| joeattardi @joeattardi/emoji-button(npm) | < 4.6.2 | 4.6.2 |
| emoji button project emoji button | < 4.6.2 | 4.6.2 |
| joeattardi @joeattardi/emoji-button | = < 4.6.2 | No fix listed |
References
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- github.com
- github.com product