CVE-2021-32859
MEDIUM 6.1CVSS 3.1Baremetrics date range picker vulnerable to Cross-site Scripting
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.
- Published
- 21 Feb 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-465f-mxxh-grc4
- Sources
- NVDJSONOSV GHSA-465f-mxxh-grc4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | baremetrics | date_range_pickercpe:2.3:a:baremetrics:date_range_picker:*:*:*:*:*:*:*:* |
<= 1.0.14 | |
| OSV | npm | baremetrics-calendar | <= 1.0.14 |
References
- https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724 · Patch, Third Party Advisory, WEB
- https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/ · Exploit, Third Party Advisory, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-32859 · ADVISORY
- https://github.com/Baremetrics/calendar · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 21 Feb 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 21 Feb 2023)