LiveActive security incident?Get immediate response
CVE Record

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

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.

MediumCVSS 6.1Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This CVE is a browser-based XSS risk in Baremetrics' date range picker. If an attacker can influence a Calendar placeholder value, malicious HTML or JavaScript may run in a user's browser. Impact depends on where the component is embedded and what user data or actions are available there.

Executive priority

Treat as a targeted web application risk, not an emergency. Prioritize if the component appears on authenticated, customer, billing, or administrative pages with dynamic placeholder content.

Technical view

baremetrics-calendar 1.0.14 and earlier render untrusted placeholder entries when creating a Calendar instance. The issue is CWE-79 XSS with CVSS 3.1 score 6.1. It is network reachable, low complexity, requires user interaction, and sources state there are no known patches.

Likely exposure

Exposure is likely limited to applications using Baremetrics calendar 1.0.14 or earlier where external users can influence the Calendar placeholder field. Static, developer-controlled placeholder text lowers practical risk.

Exploitation context

The bundle does not show KEV listing or active exploitation evidence. Exploitation requires a victim to interact with a page using the vulnerable Calendar instance and an attacker-controlled placeholder value.

Researcher notes

Evidence identifies the sink as placeholder handling in Calendar.js and states no known patch. The key validation question is data flow: whether attacker-controlled content can reach placeholder when Calendar is instantiated.

Mitigation direction

  • Inventory use of Baremetrics calendar and identify versions 1.0.14 or earlier.
  • Do not pass user-controlled values into Calendar placeholder fields.
  • Sanitize or encode placeholder values before rendering.
  • Consider replacing the component if vendor guidance remains unavailable.
  • Check Baremetrics or upstream repository guidance for any later remediation.

Validation and detection

  • Search frontend dependencies for baremetrics-calendar or Baremetrics calendar code.
  • Review Calendar instance creation sites for dynamic placeholder sources.
  • Confirm whether placeholder values can be influenced by users or external data.
  • Verify deployed bundles do not contain vulnerable vendored Calendar.js versions.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32859 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.1 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.1CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N2.82.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.1Medium
CVSS 3.1 vector shape for CVE-2021-32859Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Baremetricsbaremetrics-calendar1.0.14Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.