cve/2021/CVE-2021-32859.md

18 lines
1.0 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2021-32859](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32859)
![](https://img.shields.io/static/v1?label=Product&message=baremetrics-calendar&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=1.0.14%3C%3D%201.0.14%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brighgreen)
### 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 rendered in the context of a user leading to XSS. There are no known patches for this issue.
### POC
#### Reference
- https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/
#### Github
No PoCs found on GitHub currently.