Skip to main content
← All vulnerabilities
CVE-2021-43785GHSA-F34M-X9PJ-62VQ

Cross Site Scripting Vulnerability in @joeattardi/emoji-button

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.6.2
None on Exploit-DB, Metasploit or GitHub

Summary

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • joeattardi emoji-button

    fixed in 4.6.2

  • @joeattardi/emoji-buttonnpm

    fixed in 4.6.2

References 3

GitHub · joeattardi/emoji-button