cve.bz

CVE-2021-43785

6.1 mediumEPSS 1.0%

Medium (6.1) in emoji button project emoji button. EPSS 1.0% chance of exploitation in the next 30 days. Fixed in @joeattardi/emoji-button 4.6.2.

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

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
1.0% chance of exploitation in the next 30 days; higher than 64% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f34m-x9pj-62vqnpm@joeattardi/emoji-button<4.6.24.6.2

References

Check your stackJSON