CVE-2026-141416
Received
Received - Intake
Stored XSS in Bootstrap Datepicker via data-bs-vcp-options
Vulnerability report for CVE-2026-141416, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-12-01
Last updated on: 2026-12-01
Assigner: GitHub, Inc.
Description
Description
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 data-bs-vcp-options or data-bs-config attributes that an application may preserve while sanitizing untrusted rich HTML with DOMPurify's default configuration. The Datepicker decodes the JSON configuration and passes vcpOptions.layouts from js/src/datepicker.ts to Vanilla Calendar Pro, which renders the layout with innerHTML under its identity default sanitizer. In a page that loads the Bootstrap 6 Datepicker and lacks a Content Security Policy that blocks inline handlers, focusing the attacker-supplied input can execute JavaScript in the application's origin, allowing access to origin data and authenticated same-origin actions. Bootstrap 5 is unaffected because it does not contain the Datepicker plugin. This issue is fixed in version 6.0.0-alpha.2.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-83 | The product does not neutralize or incorrectly neutralizes "javascript:" or other URIs from dangerous attributes within tags, such as onmouseover, onload, onerror, or style. |
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |