CVE-2021-32859
6.1medium
Baremetrics date range picker vulnerable to Cross-site Scripting
- Severity
- 6.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.55% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-465f-mxxh-grc4
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
| Product or package | Versions | Reported by |
|---|---|---|
| Baremetrics baremetrics-calendar | from 1.0.14 up to 1.0.14 | CVE List |
| baremetrics-calendar (npm) | up to 1.0.14 | GitHub Advisory Database |
| baremetrics date_range_picker | up to 1.0.14 | NVD |
All scores
| GitHub_M | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32859 changed 2025-03-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-465f-mxxh-grc4 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-32859 changed 2026-06-17 | Public domain |