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

揭露 1 天後出現修補紀錄。已於 bootstrap 6.0.0-alpha.2 修補。四個 PoC 來源皆未收錄。目前未列入 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] 與 GitHub advisory GHSA-pj28-6c95-2682CWE-83, stated by the CNA GitHub_M、NVD, republishing [email protected] 與 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
目前階段
PAT
揭露時間
揭露 → 修補
T+1d
CVSS
6.1 MEDIUM v3.1

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
12-01T20:20Z
PAT修補
12-02T01:02Z
ANA分析
尚無紀錄
POCPoC
尚無紀錄
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

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.

事件紀錄

+DIS揭露

CVE 紀錄由 GitHub_M 發布。CVSS 6.1,屬中風險等級。

來源 cvelist · nday 於 即時觀測 · 原始
{
  "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"
  }
}
來源無時間;nday 即時觀測
+PAT已有修補

公告列出的修補版本:bootstrap 6.0.0-alpha.2。公告附有修補 commit。公告發布於 ;修補本身的釋出時間沒有紀錄。

來源 ghsa GHSA-pj28-6c95-2682 · nday 於 即時觀測 · 原始
{
  "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.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.