Baremetrics date range picker vulnerable to Cross-site Scripting
Moderate severity
GitHub Reviewed
Published
Feb 21, 2023
to the GitHub Advisory Database
•
Updated Feb 22, 2023
Description
Published by the National Vulnerability Database
Feb 21, 2023
Published to the GitHub Advisory Database
Feb 21, 2023
Reviewed
Feb 22, 2023
Last updated
Feb 22, 2023
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 fieldplaceholder
when creating aCalendar
instance is able to supply arbitraryhtml
orjavascript
that will be rendered in the context of a user leading to XSS. There are no known patches for this issue.References