CVE-2021-32859Baremetrics Date Range Picker
Medium 6.1 No auth needed
Follow: this CVE · Baremetrics · Baremetrics Date Range Picker We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 39
- Auth required
- No
- Published
- Feb 21, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Date Range Picker.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | baremetrics-calendar |
≤ 1.0.14 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-465f-mxxh-grc4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| baremetrics | date_range_picker | ≤ 1.0.14 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- securitylab.github.com Exploit Third Party Advisory