Skip to main content
CVE-2026-141416VulnerabilityPublished

Bootstrap: Datepicker data API turns a sanitizer-preserved `data-bs-vcp-options` attribute into executable calendar

Affects bootstrapSource GCVE Database

0
Compare
Authoritative record:CVE-2026-141416· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium : upgrade to 6.0.0-alpha.2 when convenient.

Data as of 2 Dec 2026, 03:00 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.16.1
Patch
Available – fixed in 6.0.0-alpha.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.

What to do

Upgrade bootstrap to 6.0.0-alpha.2.

Affected software

ProductAffectedFixed in
npmbootstrapAffected
  • >=6.0.0-alpha.1 <6.0.0-alpha.2
Fixed in
  • 6.0.0-alpha.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in Bootstrap 6 starting from version 6.0.0-alpha.2 that fixes this vulnerability. Users should upgrade to this version or later to remediate the issue. Until then, applications should avoid using the vulnerable Bootstrap 6 alpha releases or disable the Datepicker plugin if possible. Additionally, implementing a strict Content Security Policy (CSP) that disallows inline event handlers can mitigate exploitation. The vendor does not require or set CSP by default. No other mitigations are documented.

Description

Bootstrap 6's new Datepicker plugin has a vulnerability in its data API that allows an attacker to inject executable JavaScript via the `data-bs-vcp-options` attribute. This attribute is JSON-decoded and passed directly to the Vanilla Calendar Pro component, which renders attacker-controlled HTML with `innerHTML` under an identity sanitizer. When an application sanitizes user HTML with DOMPurify (default settings preserving `data-*` attributes) and uses Bootstrap 6 Datepicker, an attacker can submit malicious input that executes JavaScript when a victim focuses the affected input field. This vulnerability affects Bootstrap 6 alpha releases prior to 6.0.0-alpha.2 and is not present in the stable Bootstrap 5 releases.

References

Community reviews

Loading reviews…