Home › CVE › JavaScript
CVE-2026-141468 — twbs bootstrap
One of 2 twbs bootstrap vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebMobileVulnerabilitiesSummary
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.
Severity breakdown
Medium · 6.1
An attacker without an account can exploit this over the network if a user is tricked into an action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- low on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-83: Improper Neutralization of Script in Attributes in a Web Page
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| bootstrap (npm) | ≥ 6.0.0-alpha.1, < 6.0.0-alpha.2 | 6.0.0-alpha.2 |
| twbs bootstrap | >= 6.0.0-alpha.1, < 6.0.0-alpha.2 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/twbs/bootstrap/commit/9598cdc049926a161de7401d4ac05e091e6ed8…
- github.com/twbs/bootstrap/releases/tag/v6.0.0-alpha.2
Other references
Affected
- twbs bootstrap
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-141468?
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. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-141468?
CVE-2026-141468 has a CVSS 3.1 base score of 6.1 (medium), from the CNA (github.com). An attacker without an account can exploit this over the network if a user is tricked into an action.
Is CVE-2026-141468 being exploited?
Not as far as is known: CVE-2026-141468 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-141468?
bootstrap (npm) ≥ 6.0.0-alpha.1, < 6.0.0-alpha.2 (fixed in 6.0.0-alpha.2); twbs bootstrap >= 6.0.0-alpha.1, < 6.0.0-alpha.2.
How do I fix CVE-2026-141468?
Update to a fixed release: bootstrap (npm) 6.0.0-alpha.2.
Timeline & sources
References
Related vulnerabilities & news
- DreameHome Android App Allows Code Injection via Missing Integrity Check
- Unblu Spark Cross-site Scripting Vulnerability in Co-browsing Feature
- Telegram Widget Flaw Allows Code Execution Beyond Sandboxed Environment
- Cybercriminals Exploit Optimizely Feature to Infect 178 Websites
- Optimizely Supply Chain Attack Compromised Major Websites