nday
CVE-2026-141416 GHSA-hhp5-vh47-5858

Bootstrap: the Datepicker data API turns a sanitizer-preserved `data-bs-vcp-options` attribute into executable calendar HTML

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-hhp5-vh47-5858CWE-83, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-hhp5-vh47-5858
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-hhp5-vh47-5858: 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:17Z
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 Datepicker data API accepts attacker-controlled data-bs-vcp-options or data-bs-config attributes that an application may preserve while sanitizing untrusted rich HTML with DOMPurify's default configuration. The Datepicker decodes the JSON configuration and passes vcpOptions.layouts from js/src/datepicker.ts to Vanilla Calendar Pro, which renders the layout with innerHTML under its identity default sanitizer. In a page that loads the Bootstrap 6 Datepicker and lacks a Content Security Policy that blocks inline handlers, focusing the attacker-supplied input can execute JavaScript in the application's origin, allowing access to origin data and authenticated same-origin actions. Bootstrap 5 is unaffected because it does not contain the Datepicker 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": 565671,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-141416",
  "occurred_at": "2026-12-01T20:17:15.957Z",
  "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:17:15.957Z",
    "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-hhp5-vh47-5858 · nday , observed live · raw
{
  "id": 566122,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-hhp5-vh47-5858",
  "occurred_at": null,
  "observed_at": "2026-12-02T01:02:12.623158Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-hhp5-vh47-5858",
  "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-hhp5-vh47-5858",
    "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-hhp5-vh47-5858",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-141416",
      "https://github.com/twbs/bootstrap/commit/0710e4096c854c3be6a4a7a2bba404f93d449993",
      "https://gist.github.com/superboy-zjc/addeea5eb1e971c01274f72185ba9b1c",
      "https://github.com/twbs/bootstrap/releases/tag/v6.0.0-alpha.2",
      "https://github.com/advisories/GHSA-hhp5-vh47-5858"
    ],
    "fix_commit_urls": [
      "https://github.com/twbs/bootstrap/commit/0710e4096c854c3be6a4a7a2bba404f93d449993"
    ],
    "github_reviewed_at": "2026-12-02T00:30:38Z",
    "advisory_updated_at": "2026-12-02T00:30:39Z",
    "source_code_location": "https://github.com/twbs/bootstrap",
    "advisory_published_at": "2026-12-02T00:30:38Z"
  }
}

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.