Skip to content
OpenAdvisories
Medium · 6.1 CVE-2021-32859 EUVD-2023-0619GHSA-465f-mxxh-grc4

Baremetrics date range picker vulnerable to Cross-site Scripting

Published Feb 20, 2023 · Updated Mar 10, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Baremetrics baremetrics-calendar 1.0.14 – ≤ 1.0.14 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm baremetrics-calendar <= 1.0.14 — GHSA-465f-mxxh-grc4

References