{ "dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": { "state": "PUBLISHED", "cveId": "CVE-2021-32859", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "dateUpdated": "2025-03-10T21:08:19.969Z", "dateReserved": "2021-05-12T00:00:00.000Z", "datePublished": "2023-02-20T00:00:00.000Z" }, "containers": { "cna": { "title": "Baremetrics date range picker vulnerable to Cross-site Scripting", "providerMetadata": { "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M", "dateUpdated": "2023-02-20T00:00:00.000Z" }, "descriptions": [ { "lang": "en", "value": "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." } ], "affected": [ { "vendor": "Baremetrics", "product": "baremetrics-calendar", "versions": [ { "version": "1.0.14", "status": "affected", "lessThanOrEqual": "1.0.14", "versionType": "custom" } ] } ], "references": [ { "url": "https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/" }, { "url": "https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724" } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 6.1, "baseSeverity": "MEDIUM" } } ], "problemTypes": [ { "descriptions": [ { "type": "CWE", "lang": "en", "description": "CWE-79 Cross-site Scripting (XSS)", "cweId": "CWE-79" } ] } ], "x_generator": { "engine": "Vulnogram 0.0.9" }, "source": { "advisory": "GHSL-2021-1042", "defect": [ "GHSL-2021-1042" ], "discovery": "UNKNOWN" } }, "adp": [ { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-03T23:33:56.107Z" }, "title": "CVE Program Container", "references": [ { "url": "https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/", "tags": [ "x_transferred" ] }, { "url": "https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724", "tags": [ "x_transferred" ] } ] }, { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2025-03-10T21:00:12.505288Z", "id": "CVE-2021-32859", "options": [ { "Exploitation": "poc" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2025-03-10T21:08:19.969Z" } } ] } }