CVE-2021-32859
MEDIUMbaremetrics/date_range_picker < 1.0.14 - Cross-Site Scripting via Placeholder Parameter
Title source: llmDescription
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.
References (2)
Core 2
Core References
Patch, Third Party Advisory
https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724
Exploit, Third Party Advisory
https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/
Scores
CVSS v3
6.1
EPSS
0.0019
EPSS Percentile
41.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (2)
baremetrics/date_range_picker
< 1.0.14
npm/baremetrics-calendar
0npm
Published
Feb 21, 2023
Tracked Since
Feb 18, 2026