{"id":"CVE-2021-32859","details":"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.","aliases":["GHSA-465f-mxxh-grc4"],"modified":"2026-07-09T00:36:28.485730Z","published":"2023-02-21T15:15:11.787Z","references":[{"type":"FIX","url":"https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724"},{"type":"EVIDENCE","url":"https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/baremetrics/calendar","events":[{"introduced":"0"},{"last_affected":"13ce176ccb49f5f5f9c068f83137a2872a7a069f"}],"database_specific":{"cpe":"cpe:2.3:a:baremetrics:date_range_picker:*:*:*:*:*:*:*:*","extracted_events":[{"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"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}