{"id":"CVE-2021-32859","aliases":["GHSA-465f-mxxh-grc4"],"url":"https://o3.security/vulnerability/CVE-2021-32859","summary":"Baremetrics date range picker vulnerable to Cross-site Scripting","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.","published":"2023-02-21T15:15:11.787Z","modified":"2026-07-09T00:36:28.485730Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"baremetrics-calendar","fixedVersion":null}],"fix":null,"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/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32859"},{"type":"PACKAGE","url":"https://github.com/Baremetrics/calendar"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T00:36:28.485730Z"}}