CVE-2021-43785
CVSS V2 Medium 4.3
CVSS V3 Medium 6.1
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.
Overview
- CVE ID
- CVE-2021-43785
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-11-26T19:15:08
- Last Modified Date
- 2021-11-30T18:20:01
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:emoji_button_project:emoji_button:*:*:*:*:*:node.js:*:* | 1 | OR | 4.6.2 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 6.1
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 2.7
References
Reference URL | Reference Tags |
---|---|
https://github.com/joeattardi/emoji-button/security/advisories/GHSA-f34m-x9pj-62vq | Third Party Advisory |
https://github.com/joeattardi/emoji-button/commit/05970c09180cd27fff493e998ac5bf0468b1bb16 | Patch Third Party Advisory |
https://github.com/joeattardi/emoji-button/commit/fe54bef107eb3f74873a4018f2ff49fa124c6a2e | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-43785 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-43785 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:44:29 | Added to TrackCVE | |||
2022-12-05 15:12:13 | 2021-11-26T19:15Z | 2021-11-26T19:15:08 | CVE Published Date | updated |
2022-12-05 15:12:13 | 2021-11-30T18:20:01 | CVE Modified Date | updated | |
2022-12-05 15:12:13 | Analyzed | Vulnerability Status | updated |