Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-32859
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:48 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-32859
Complete source record
{
"id": "c2a8567078e456557c7dd5ff880a718002b83081ce753493027ecc4497be7ad2",
"url": "https://osv.dev/vulnerability/CVE-2021-32859",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-32859",
"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.",
"evidence": "osv:CVE-2021-32859",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-32859",
"aliases": [
"CVE-2021-32859",
"GHSA-465f-mxxh-grc4"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/baremetrics/calendar",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "13ce176ccb49f5f5f9c068f83137a2872a7a069f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:baremetrics:date_range_picker:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.0.14"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.0.14",
"v1.0.13",
"v1.0.12",
"v1.0.11",
"v1.0.10",
"v1.0.9",
"v1.0.8",
"v1.0.7",
"v1.0.6",
"v1.0.5",
"v1.0.4",
"v1.0.3",
"v1.0.2",
"v1.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32859.json"
}
}
],
"modified": "2026-10-20T10:54:44.042675093Z",
"provider": "osv",
"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/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-32859",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386035,
"published_at": "2023-02-21T15:15:11.787+00:00"
}