SecurityContext

CVE-2021-32859: Baremetrics - Stored XSS

  • Cve: CVE-2021-32859
  • Name: Baremetrics - Stored XSS
  • 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.
  • Impact: Attackers can execute arbitrary scripts in the context of a user, potentially leading to session hijacking or data theft.
  • Remediation: No patches available; consider updating to a newer version or applying a security fix if available.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00537
  • Epss percentile: 0.45904
  • Assignee: [email protected]
  • Published at: 2023-02-21T15:15:11Z
  • Age in days: 1372
  • Modified at: 2026-06-17T03:53:46Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32859
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/nvd2023-02-21

References

UrlSourceTags
https://github.com/Baremetrics/calendar/blob/240c20134ffbf0f0f246a50feff2be1ff19cf349/public/js/Calendar.js#L724nvdPatch, Third Party Advisory
https://securitylab.github.com/advisories/GHSL-2021-1042_Baremetrics_Date_Range_Picker/nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
baremetrics:date_range_picker<= 1.0.14nonvd/v1/products/baremetrics/date_range_picker

Projects

RepositoryLink kindsIndexedUrl
Baremetrics/calendarpackageyes/v1/repositories/Baremetrics/calendar

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-02-21
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts