Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS00NjVmLW14eGgtZ3JjNM4AAxwo
Baremetrics date range picker vulnerable to Cross-site Scripting
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00NjVmLW14eGgtZ3JjNM4AAxwo
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 1 year ago
Updated: about 1 year ago
CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Identifiers: GHSA-465f-mxxh-grc4, CVE-2021-32859
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-32859
- 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/advisories/GHSA-465f-mxxh-grc4
Blast Radius: 2.9
Affected Packages
npm:baremetrics-calendar
Dependent packages: 3Dependent repositories: 3
Downloads: 1,031 last month
Affected Version Ranges: <= 1.0.14
No known fixed version
All affected versions: 1.0.12, 1.0.13, 1.0.14