Skip to content
OpenAdvisories
High · 7.6 CVE-2021-43785 EUVD-2021-2506GHSA-f34m-x9pj-62vq

Cross Site Scripting Vulnerability in @joeattardi/emoji-button

Published Nov 26, 2021 · Updated Aug 4, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
joeattardi emoji-button < 4.6.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @joeattardi/emoji-button < 4.6.2 4.6.2 GHSA-f34m-x9pj-62vq

References