Home › Vulnerabilities › twbs
Bootstrap 6 alpha: two medium-severity XSS flaws in Datepicker and Toggler, fixed in 6.0.0-alpha.2
NVD published two MEDIUM (CVSS 6.1) records for Bootstrap 6 alpha releases, describing script injection through attacker-controlled attributes in the Datepicker and Toggler plugins. The records state the issue is fixed in 6.0.0-alpha.2 and that Bootstrap 5 is unaffected.
What to look into
- 2 vulnerabilities in twbs bootstrap: 2 medium (CVSS up to 6.1).
- None of them is known to be exploited yet.
- Start with CVE-2026-141416 (6.1 medium): Bootstrap is the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first projects on the web. From version 6.0.0-alpha.1 until 6.0.0-alpha.2, the Bootstrap Datepicker… An attacker without an account can exploit this over the network if a user is tricked into an action.
- 2 of 2 can be attacked over the network without logging in.
- Kinds of flaws: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (×2); Improper Neutralization of Script in Attributes in a Web Page (×2).
Key points
- Two MEDIUM (CVSS 6.1) XSS flaws in Bootstrap 6 alpha releases, CVE-2026-141416 and CVE-2026-141468
- Datepicker flaw requires focusing attacker-supplied input; Toggler flaw requires a victim click
- Both depend on untrusted HTML sanitized with DOMPurify's default configuration and no CSP blocking inline handlers
- Fixed in 6.0.0-alpha.2; Bootstrap 5 is stated to be unaffected
What the batch covers
Two medium-severity cross-site scripting issues affect the Bootstrap 6 alpha line, according to NVD records published on 2026-12-01. Both are rated MEDIUM with a CVSS score of 6.1. In both, attacker-controlled HTML attributes can survive sanitization and lead to JavaScript running in the application's origin. Both records say the problem exists from 6.0.0-alpha.1 until 6.0.0-alpha.2 and is fixed in 6.0.0-alpha.2. Bootstrap 5 is stated to be unaffected because it does not include either plugin.
CVE-2026-141416 (Datepicker)
The Datepicker data API accepts attacker-controlled data-bs-vcp-options or data-bs-config attributes. The decoded configuration is passed to Vanilla Calendar Pro, which renders layouts with innerHTML. According to the record, focusing the attacker-supplied input can run JavaScript on a page that loads the Datepicker and lacks a Content Security Policy that blocks inline handlers.
CVE-2026-141468 (Toggler)
The Toggler plugin takes an attribute name from data-bs-attribute and a value from data-bs-value. Only the id attribute is rejected before the pair is passed to setAttribute(). The record says a value such as an inline event handler can become executable after a user clicks a toggler control. The same Content Security Policy condition applies.
Impact and scope
Both records say the code would run in the application's origin, potentially allowing access to origin data and authenticated same-origin actions. The Toggler record also mentions page modification. Neither record describes observed exploitation. Exposure depends on whether an application keeps these attributes when it sanitizes untrusted rich HTML with DOMPurify's default configuration. The records do not describe a workaround other than moving to the fixed version.
What to do
- Upgrade Bootstrap 6 alpha installations to 6.0.0-alpha.2, the fixed version named in both records.
- Check whether pages use the Datepicker or Toggler plugins and whether they sanitize untrusted rich HTML with DOMPurify's default configuration.
- Review the Content Security Policy on affected pages, since the records say the risk depends on a policy that does not block inline handlers.
- No action is indicated for Bootstrap 5 installations under these records.
The 2 vulnerabilities
- CVE-2026-141416 6.1 Bootstrap is the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first projects on the web. From version 6.0.0-alpha.1 until 6.0.0-alpha.2, the Bootstrap Datepicker data API accepts attacker-controlled da…
- CVE-2026-141468 6.1 Bootstrap is the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first projects on the web. From version 6.0.0-alpha.1 until 6.0.0-alpha.2, the Bootstrap 6 Toggler plugin accepts an attacker-controlled at…
Frequently asked questions
How many twbs bootstrap vulnerabilities were published on December 1, 2026?
2 vulnerabilities: 2 medium, with CVSS scores up to 6.1.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-141416 (CVSS 6.1): Bootstrap is the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first projects on the web. From version 6.0.0-alpha.1 until 6.0.0-alpha.2, the Bootstrap Datepicker…