High severityNVD Advisory· Published Nov 26, 2021· Updated Aug 4, 2024
Cross Site Scripting Vulnerability in @joeattardi/emoji-button
CVE-2021-43785
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@joeattardi/emoji-buttonnpm | < 4.6.2 | 4.6.2 |
Affected products
2- Range: < 4.6.2
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-f34m-x9pj-62vqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-43785ghsaADVISORY
- github.com/joeattardi/emoji-button/commit/05970c09180cd27fff493e998ac5bf0468b1bb16ghsax_refsource_MISCWEB
- github.com/joeattardi/emoji-button/commit/fe54bef107eb3f74873a4018f2ff49fa124c6a2eghsax_refsource_MISCWEB
- github.com/joeattardi/emoji-button/security/advisories/GHSA-f34m-x9pj-62vqghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.