CVE-2026-141468
MediumCVSS 6.1Exploitation Probability (EPSS)
Elevated risk50th percentile - higher than 50% of all known CVEs
Summary
From version 6.0.0-alpha.1 until 6.0.0-alpha.2, the Bootstrap 6 Toggler plugin accepts an attacker-controlled attribute name in data-bs-attribute and value in data-bs-value, which an application may preserve while sanitizing untrusted rich HTML with DOMPurify's default configuration. Toggler._execute() rejects only id and otherwise passes the name and value to setAttribute(), allowing a value such as an inline event handler to become executable after the victim clicks a control.
Risk Assessment
The vulnerability enables JavaScript execution in the page context (XSS) and access to origin data and authenticated same-origin actions. Risk applies to pages without a CSP blocking inline handlers.
Recommendation
Update Bootstrap to version 6.0.0-alpha.2 or later. Additionally, deploy a CSP that blocks inline event handlers.
Other vulnerabilities in Bootstrap
See all- CVE-2026-104371Low
The application loads Bootstrap 3.3.7 CSS from the external CDN maxcdn.bootstrapcdn.com without an integrity (Subresource Integrity) attribute. As a result, the browser will apply whatever content the CDN or a TLS-intercepting attacker returns, enabling CSS injection.
- CVE-2026-141416Medium
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 to Vanilla Calendar Pro, which renders the layout with innerHTML, potentially executing JavaScript when the attacker-supplied input is focused.
Original NVD description (English source)
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 attribute name in data-bs-attribute and value in data-bs-value, which an application may preserve while sanitizing untrusted rich HTML with DOMPurify's default configuration. In js/src/toggler.ts, Toggler._execute() rejects only id and otherwise passes the name and value to setAttribute(), allowing a value such as an inline event handler to become executable after the victim clicks a [data-bs-toggle="toggler"] control. On a page without a Content Security Policy that blocks inline handlers, this can execute JavaScript in the application's origin and permit access to origin data, authenticated same-origin actions, and page modification. Bootstrap 5 is unaffected because it does not contain the Toggler plugin. This issue is fixed in version 6.0.0-alpha.2.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

