Vulnerability Details : CVE-2021-32859
Potential exploit
The Baremetrics date range picker is a solution for selecting both date ranges and single dates from a single calender view. Versions 1.0.14 and prior are prone to cross-site scripting (XSS) when handling untrusted `placeholder` entries. An attacker who is able to influence the field `placeholder` when creating a `Calendar` instance is able to supply arbitrary `html` or `javascript` that will be rendered in the context of a user leading to XSS. There are no known patches for this issue.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2021-32859
- cpe:2.3:a:baremetrics:date_range_picker:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-32859
0.22%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 41 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-32859
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
GitHub, Inc. |
CWE ids for CVE-2021-32859
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2021-32859
-
https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724
calendar/Calendar.js at 240c20134ffbf0f0f246a50feff2be1ff19cf349 · Baremetrics/calendar · GitHubPatch;Third Party Advisory
-
https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/
GHSL-2021-1042: XSS in Baremetrics - CVE-2021-32859 | GitHub Security LabExploit;Third Party Advisory
Jump to