GitHub Advisoryadvisory · npm

GHSA-465f-mxxh-grc4 Baremetrics date range picker vulnerable to Cross-site Scripting

MEDIUM Published 2023-02-21 Modified 2023-02-22 Official page ↗
Aliases
CVE-2021-32859
Ecosystem
npm
Packages
baremetrics-calendar
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2023-02-22

Affected packages

• npm baremetrics-calendar: <= 1.0.14 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2021-32859 The Baremetrics date range picker is a solution for selecting both date ranges and single dates from a single calender view. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References