nday
CVE-2026-141468 GHSA-pj28-6c95-2682

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

twbs / bootstrap

Patch on record 1 day after disclosure. Patched: fixed in bootstrap 6.0.0-alpha.2. None of the four PoC sources lists it. Not in CISA KEV.

tags weakness typeXSS accessnetworkno authentication required ecosystemnpm
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

XSS
CWE-79, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-pj28-6c95-2682CWE-83, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-pj28-6c95-2682
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
npm
GHSA-pj28-6c95-2682: npm packages bootstrap
stage
PAT
disclosed
disclosure → patch
T+1d
cvss
6.1 MEDIUM v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
12-01T20:20Z
PATpatch
12-02T01:02Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

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

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 6.1, medium.

src cvelist · nday , observed live · raw
{
  "id": 565672,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-141468",
  "occurred_at": "2026-12-01T20:20:36.607Z",
  "observed_at": "2026-12-01T21:02:12.593375Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "version": "3.1",
      "base_score": 6.1,
      "base_severity": "MEDIUM"
    },
    "state": "PUBLISHED",
    "date_published": "2026-12-01T20:20:36.607Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version bootstrap 6.0.0-alpha.2. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-pj28-6c95-2682 · nday , observed live · raw
{
  "id": 566123,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-pj28-6c95-2682",
  "occurred_at": null,
  "observed_at": "2026-12-02T01:02:12.623158Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-pj28-6c95-2682",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 6.1,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Neutralization of Input During Web Page Generation",
        "cwe_id": "CWE-79"
      },
      {
        "name": "Improper Neutralization of Script in Attributes in a Web Page",
        "cwe_id": "CWE-83"
      }
    ],
    "ghsa_id": "GHSA-pj28-6c95-2682",
    "packages": [
      {
        "name": "bootstrap",
        "ecosystem": "npm",
        "first_patched_version": "6.0.0-alpha.2",
        "vulnerable_version_range": ">= 6.0.0-alpha.1, < 6.0.0-alpha.2"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/twbs/bootstrap/security/advisories/GHSA-pj28-6c95-2682",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-141468",
      "https://github.com/twbs/bootstrap/commit/9598cdc049926a161de7401d4ac05e091e6ed80d",
      "https://gist.github.com/superboy-zjc/a5fee7d574d970728defaa7aa21aa19b",
      "https://github.com/twbs/bootstrap/releases/tag/v6.0.0-alpha.2",
      "https://github.com/advisories/GHSA-pj28-6c95-2682"
    ],
    "fix_commit_urls": [
      "https://github.com/twbs/bootstrap/commit/9598cdc049926a161de7401d4ac05e091e6ed80d"
    ],
    "github_reviewed_at": "2026-12-02T00:48:17Z",
    "advisory_updated_at": "2026-12-02T00:48:19Z",
    "source_code_location": "https://github.com/twbs/bootstrap",
    "advisory_published_at": "2026-12-02T00:48:17Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.