CVE-2021-32859 json
Baremetrics date range picker vulnerable to Cross-site Scripting
published 2023-02-20 3 y ago modified 2026-06-17 4 mo ago also GHSA-465f-mxxh-grc4 , EUVD-2023-0619
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- securitylab.github.com https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | baremetrics-calendar | <=1.0.14 |
no fix listed |
Affected products
- Baremetrics baremetrics-calendar
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724
web, patch, third-party-advisory
-
securitylab.github.com
/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/
exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-32859
advisory
-
github.com
/Baremetrics/calendar
package
-
securitylab.github.com
/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker
advisory
Sources
- CVE List CVE-2021-32859
- GitHub Advisory GHSA-465f-mxxh-grc4
- NVD CVE-2021-32859
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.