{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-32859","id":"CVE-2021-32859","title":"Baremetrics date range picker vulnerable to Cross-site Scripting","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 r","descriptionLong":"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-20T00:00:00.000Z","updated":"2026-10-20T10:54:44.042675093Z","reserved":"2021-05-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["baremetrics-calendar"],"affectedProducts":[{"vendor":"Baremetrics","product":"baremetrics-calendar","defaultStatus":null,"versions":[{"version":"1.0.14","status":"affected","lessThanOrEqual":"1.0.14","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"baremetrics-calendar","purl":"pkg:npm/baremetrics-calendar","ranges":["<=1.0.14"],"fixed":[],"advisory":"GHSA-465f-mxxh-grc4"}],"cwes":["CWE-79"],"aliases":["GHSA-465f-mxxh-grc4"],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/","tags":["x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32859","tags":["advisory"]},{"url":"https://github.com/Baremetrics/calendar","tags":["package"]},{"url":"https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00537,"epssPercentile":0.46052,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-32859","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32859","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-32859","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-465f-mxxh-grc4","ok":true,"note":"GHSA-465f-mxxh-grc4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32859","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}