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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| joeattardi | emoji-button | < 4.6.2 |
References
- https://github.com/joeattardi/emoji-button/commit/05970c09180cd27fff493e998ac5bf0468b1bb16Patch, Third Party Advisory
- https://github.com/joeattardi/emoji-button/commit/fe54bef107eb3f74873a4018f2ff49fa124c6a2ePatch, Third Party Advisory
- https://github.com/joeattardi/emoji-button/security/advisories/GHSA-f34m-x9pj-62vqThird Party Advisory
- https://github.com/joeattardi/emoji-button/commit/05970c09180cd27fff493e998ac5bf0468b1bb16Patch, Third Party Advisory
- https://github.com/joeattardi/emoji-button/commit/fe54bef107eb3f74873a4018f2ff49fa124c6a2ePatch, Third Party Advisory
- https://github.com/joeattardi/emoji-button/security/advisories/GHSA-f34m-x9pj-62vqThird Party Advisory
Timeline
- Published
- Nov 26, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified