CVE-2026-141416

Source
https://cve.org/CVERecord?id=CVE-2026-141416
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141416.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-141416
Aliases
Published
2026-12-01T20:17:15Z
Modified
2026-12-01T22:00:23Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Bootstrap: the Datepicker data API turns a sanitizer-preserved `data-bs-vcp-options` attribute into executable calendar HTML
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-79",
        "CWE-83"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141416.json"
}
References

Affected packages

Git / github.com/twbs/bootstrap

Affected ranges

Type
GIT
Repo
https://github.com/twbs/bootstrap
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "6.0.0-alpha.1"
                },
                {
                    "fixed":  "6.0.0-alpha.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "0710e4096c854c3be6a4a7a2bba404f93d449993"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v6.0.0-alpha.2",
            "range":  [
                {
                    "fixed":  "03f96cae5c9f8c66908d684a19ac1ac6897870ab"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v6.*
v6.0.0-alpha.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141416.json"