Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. baremetrics-calendar
  4. ›
  5. CVE-2021-32859

CVE-2021-32859: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

February 21, 2023 (updated February 22, 2023)

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.

References

  • github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js
  • github.com/advisories/GHSA-465f-mxxh-grc4
  • nvd.nist.gov/vuln/detail/CVE-2021-32859
  • securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/

Code Behaviors & Features

Detect and mitigate CVE-2021-32859 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 1.0.14

Solution

Unfortunately, there is no solution available yet.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/baremetrics-calendar/CVE-2021-32859.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:43 +0000.