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.
References
Link | Resource |
---|---|
https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724 | Patch Third Party Advisory |
https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/ | Exploit Third Party Advisory |
https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724 | Patch Third Party Advisory |
https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/ | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 06:07
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724 - Patch, Third Party Advisory | |
References | () https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/ - Exploit, Third Party Advisory |
02 Mar 2023, 16:22
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-79 | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
References | (CONFIRM) https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/ - Exploit, Third Party Advisory | |
References | (MISC) https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724 - Patch, Third Party Advisory | |
CPE | cpe:2.3:a:baremetrics:date_range_picker:*:*:*:*:*:*:*:* |
21 Feb 2023, 15:21
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-02-21 15:15
Updated : 2024-11-21 06:07
NVD link : CVE-2021-32859
Mitre link : CVE-2021-32859
CVE.ORG link : CVE-2021-32859
JSON object : View
Products Affected
baremetrics
- date_range_picker
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')