CVE-2021-43785

High

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.

SeverityHigh
CVSS7.6
Exploit probability—
ProductEmoji Button
PublishedNov 26, 2021
First seenNov 26, 2021

How to fix

Update
  • emoji_button_project emoji_button4.6.2 or later
  • @joeattardi/emoji-button4.6.2 or later

Affected products

ProductAffected versionsFixed in
emoji_button_project emoji_buttonv < 4.6.24.6.2
@joeattardi/emoji-buttonnpmv < 4.6.24.6.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-43785 · Emoji Button · Dark Radar