Live threats

All CVEs / Emoji Button Project

CVE-2021-43785Emoji Button Project Emoji Button

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.0%
probability of exploitation in 30 days · percentile 64
Auth required
No
Published
Nov 26, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

@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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Emoji Button.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @joeattardi/emoji-button < 4.6.2 4.6.2 npm install @joeattardi/emoji-button@4.6.2

Per OSV / GitHub Advisories (GHSA-f34m-x9pj-62vq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
emoji_button_projectemoji_button< 4.6.2

Official sources

References

Links published by the sources. Open them with care.