Skip to content

CVE-2021-32859 Baremetrics date range picker vulnerable to Cross-site Scripting

MediumCVSS 6.1 EPSS 0.54%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
baremetrics date range picker <= 1.0.14 after 1.0.14 Fixed
baremetrics-calendar >= 1.0.14, <= 1.0.14 after 1.0.14 Fixed
npm baremetrics-calendar(npm) <= 1.0.14 after 1.0.14 Fixed

Affected products

ProductAffected versionsFixed in
npm baremetrics-calendar(npm) <= 1.0.14 No fix listed
baremetrics date range picker <= 1.0.14 No fix listed
baremetrics-calendar >= 1.0.14, <= 1.0.14 No fix listed

References