What’s Vulnerable › Vulnerabilities
CVE-2021-32859: Baremetrics date range picker vulnerable to Cross-site Scripting
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-02-21 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- Baremetrics Date Range Picker: through 1.0.14
References
- https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724
- https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/
- https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724
- https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/
Get alerted when CVE-2021-32859 or the next vulnerability affects your stack