Cross Site Scripting Vulnerability in @joeattardi/emoji-button
Priority LOW 35CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
@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.
Why it matters now
EPSS 0.01047 64th percentileScored 2026-11-07
Fix Fixed emoji-button (joeattardi): 4.6.2@joeattardi/emoji-button (npm): 4.6.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| joeattardi | emoji-button | before 4.6.2 | 4.6.2 | Patch available | CNA |
| — | @joeattardi/emoji-button (npm) | before 4.6.2 | 4.6.2 | Patch available | GHSA-f34m-x9pj-62vq |
- emoji-button Vendorjoeattardi Affected before 4.6.2 Fixed in 4.6.2 Patch available CNA
- @joeattardi/emoji-button (npm) Vendor— Affected before 4.6.2 Fixed in 4.6.2 Patch available GHSA-f34m-x9pj-62vq
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:emoji_button_project:emoji_button:*:*:*:*:*:node.js:*:* | before 4.6.2 | Vulnerable | Emoji Button Project |
- cpe:2.3:a:emoji_button_project:emoji_button:*:*:*:*:*:node.js:*:* Versions before 4.6.2 Vulnerable ·Emoji Button Project
Remediation
- Fix · CNA emoji-button (joeattardi) Fixed in 4.6.2
- Fix · GHSA-f34m-x9pj-62vq @joeattardi/emoji-button (npm) Fixed in 4.6.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-43785
- 2026-10-03 Alias added: GHSA-f34m-x9pj-62vq
References
Patch 2
Advisory 2
Sources
- CVE-2021-43785 · CVE Program
- CVE-2021-43785 · NVD
- FIRST EPSS
- GHSA-f34m-x9pj-62vq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences