CVE-2021-32859

Baremetrics date range picker vulnerable to Cross-site Scripting

State
Published
Severity
6.1 Medium
Published
Feb 20, 2023
Updated
Mar 10, 2025
Reserved
May 12, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NGitHub_M

Weaknesses

  • CWE-79 Cross-site Scripting (XSS)

Affected Products

ProductVersions
baremetrics-calendarBaremetrics
  • 1.0.14 through 1.0.14Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.