Security mailing lists by PureSourceCode

CVE-2026-141468

MEDIUM 6.1CVSS 3.1

Bootstrap: the Toggler plugin turns sanitizer-approved `data-*` attributes into an executable inline event handler

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.

Published
1 Dec 2026
Last modified
2 Dec 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-79CWE-83
Also known as
GHSA-pj28-6c95-2682
Sources
NVDJSONCVE ListJSONOSV GHSA-pj28-6c95-2682JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVE List GitHub_M CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List twbs bootstrap = >= 6.0.0-alpha.1, < 6.0.0-alpha.2
OSV npm bootstrap >= 6.0.0-alpha.1, < 6.0.0-alpha.2 6.0.0-alpha.2

References

History

  • 2 Dec 2026 17:35 UTC · NVD: updated (other details)
  • 2 Dec 2026 16:57 UTC · CVE List: updated (other details)
  • 2 Dec 2026 02:11 UTC · OSV: first stored (published 2 Dec 2026)
  • 1 Dec 2026 21:37 UTC · NVD: first stored (published 1 Dec 2026)
  • 1 Dec 2026 20:41 UTC · CVE List: first stored (published 1 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.