{"cve":"CVE-2021-32859","nvd":{"published":"2023-02-21T15:15:11.787","modified":"2026-06-17T03:53:46.533","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"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/","https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724","https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/"],"products":["baremetrics:date_range_picker"],"source":"nvd","synced_at":"2026-10-19T21:37:38.595364862+00:00"},"epss":{"cve":"CVE-2021-32859","score":0.00537,"percentile":0.45291,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-465f-mxxh-grc4","url":"https://osv.dev/vulnerability/GHSA-465f-mxxh-grc4","summary":"Baremetrics date range picker vulnerable to Cross-site Scripting","modified":"2023-11-08T04:06:02.661898Z","packages":[{"ecosystem":"npm","name":"baremetrics-calendar","purl":"pkg:npm/baremetrics-calendar","ranges":["<=1.0.14"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}