Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-141468 — twbs bootstrap

Medium · CVSS 6.1 First seen December 01, 2026

One of 2 twbs bootstrap vulnerabilities published together by NVD: our article covers all of them.

JavaScriptWebMobileVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 6.1 CVSS 3.1 base score from the CNA (github.com)

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

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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

ProductAffected versionsFixed in
bootstrap (npm)≥ 6.0.0-alpha.1, < 6.0.0-alpha.26.0.0-alpha.2
twbs bootstrap>= 6.0.0-alpha.1, < 6.0.0-alpha.2—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

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