VULNERABILITY INTELLIGENCE

CVE-2021-43785

CVSS score7.6 HIGH
EPSS probability1.05%
CISA KEVNot currently listed
Published2021-11-26
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

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.

Weakness classification

  • security-advisories@github.com: CWE-79
  • nvd@nist.gov: CWE-79

Primary references