CVE-2021-32859
JSON

6.1medium

Baremetrics date range picker vulnerable to Cross-site Scripting

Severity
6.1medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.55% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-465f-mxxh-grc4

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

Product or packageVersionsReported by
Baremetrics baremetrics-calendarfrom 1.0.14 up to 1.0.14CVE List
baremetrics-calendar (npm)up to 1.0.14GitHub Advisory Database
baremetrics date_range_pickerup to 1.0.14NVD

All scores

GitHub_M6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-32859 changed 2025-03-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-465f-mxxh-grc4 changed 2023-11-08CC-BY-4.0
NVDCVE-2021-32859 changed 2026-06-17Public domain