{"id":"CVE-2021-32859","published":"2023-02-20T00:00:00Z","modified":"2025-03-10T21:08:19Z","title":"Baremetrics date range picker vulnerable to Cross-site Scripting","vendor":"Baremetrics","product":"baremetrics-calendar","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00537,"percentile":0.38764,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/","tags":[]},{"url":"https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724","tags":[]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":7.75},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"baremetrics","affectedVersions":[{"vendor":"Baremetrics","product":"baremetrics-calendar","versions":[">= 1.0.14, <= 1.0.14"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T21:00:12.505288Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"baremetrics-calendar","vulnerableRanges":["<=1.0.14"],"patched":[],"from":["GHSA-465f-mxxh-grc4"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-0619","exploited":false,"provenance":"source"}}