High severity7.6NVD Advisory· Published Nov 26, 2021· Updated Jun 17, 2026
CVE-2021-43785
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
3- Range: < 4.6.2
- cpe:2.3:a:emoji_button_project:emoji_button:*:*:*:*:*:node.js:*:*Range: <4.6.2
Patches
Vulnerability mechanics
References
5- github.com/joeattardi/emoji-button/commit/05970c09180cd27fff493e998ac5bf0468b1bb16nvdPatchThird Party AdvisoryWEB
- github.com/joeattardi/emoji-button/commit/fe54bef107eb3f74873a4018f2ff49fa124c6a2envdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-f34m-x9pj-62vqghsaADVISORY
- github.com/joeattardi/emoji-button/security/advisories/GHSA-f34m-x9pj-62vqnvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-43785ghsaADVISORY
News mentions
0No linked articles in our index yet.