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

Hay constancia de un parche 1 día después de la divulgación. Versión corregida: bootstrap 6.0.0-alpha.2. Ninguna de las cuatro fuentes de PoC la recoge. No figura en el KEV de CISA.

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] y GitHub advisory GHSA-pj28-6c95-2682CWE-83, stated by the CNA GitHub_M, NVD, republishing [email protected] y 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
etapa
PAT
divulgación
divulgación → parche
T+1d
cvss
6.1 MEDIUM v3.1

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
12-01T20:20Z
PATparcheada
12-02T01:02Z
ANAanalizada
sin registro aún
POCPoC
sin registro aún
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Registro de eventos

+DISdivulgación

GitHub_M publicó el registro CVE. CVSS 6.1, severidad media.

fuente cvelist · nday , observado en tiempo real · en bruto
{
  "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"
  }
}
hora observada en tiempo real por nday
+PATparche registrado

Versión corregida según el aviso: bootstrap 6.0.0-alpha.2. El aviso enlaza los commits de la corrección. Aviso publicado el ; no consta cuándo se publicó el parche en sí.

fuente ghsa GHSA-pj28-6c95-2682 · nday , observado en tiempo real · en bruto
{
  "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.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.