{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-141416",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-12-01T18:37:34.900Z",
        "datePublished": "2026-12-01T20:17:15.957Z",
        "dateUpdated": "2026-12-01T20:17:15.957Z"
    },
    "containers": {
        "cna": {
            "title": "Bootstrap: the Datepicker data API turns a sanitizer-preserved `data-bs-vcp-options` attribute into executable calendar HTML",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-83",
                            "lang": "en",
                            "description": "CWE-83: Improper Neutralization of Script in Attributes in a Web Page",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 6.1,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/twbs/bootstrap/security/advisories/GHSA-hhp5-vh47-5858",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/twbs/bootstrap/security/advisories/GHSA-hhp5-vh47-5858"
                },
                {
                    "name": "https://github.com/twbs/bootstrap/commit/0710e4096c854c3be6a4a7a2bba404f93d449993",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/twbs/bootstrap/commit/0710e4096c854c3be6a4a7a2bba404f93d449993"
                },
                {
                    "name": "https://gist.github.com/superboy-zjc/addeea5eb1e971c01274f72185ba9b1c",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://gist.github.com/superboy-zjc/addeea5eb1e971c01274f72185ba9b1c"
                },
                {
                    "name": "https://github.com/twbs/bootstrap/releases/tag/v6.0.0-alpha.2",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/twbs/bootstrap/releases/tag/v6.0.0-alpha.2"
                }
            ],
            "affected": [
                {
                    "vendor": "twbs",
                    "product": "bootstrap",
                    "versions": [
                        {
                            "version": ">= 6.0.0-alpha.1, < 6.0.0-alpha.2",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-12-01T20:17:15.957Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-hhp5-vh47-5858",
                "discovery": "UNKNOWN"
            }
        }
    }
}