XSS in Baremetrics Baremetrics-Calendar
CVE-2021-32859
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 class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.005, 45.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Baremetrics Baremetrics-Calendar — versions 1.0.14
- Baremetrics Date Range Picker
Weakness classification (CWE)
References
- securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/ (Exploit, Third Party Advisory)
- github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/p… (Patch, Third Party Advisory)