@joeattardi/emoji-button@4.5.1 vulnerabilities

Vanilla JavaScript emoji picker

Direct Vulnerabilities

Known vulnerabilities in the @joeattardi/emoji-button package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Cross-site Scripting (XSS)

@joeattardi/emoji-button is a Vanilla JavaScript emoji picker

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via a URL for a custom emoji, and an i18n string. A value can be made to include script tags and inject them into the page, leading to code execution.

How to fix Cross-site Scripting (XSS)?

Upgrade @joeattardi/emoji-button to version 4.6.2 or higher.

<4.6.2