CVE-2026-141416 — Bootstrap — CWE-79 · CWE-83
## Summary [Bootstrap](https://github.com/twbs/bootstrap)'s new Datepicker plugin (Bootstrap 6) is documented to take any Vanilla Calendar Pro setting through the data attribute `data-bs-vcp-options`, holding a JSON object. Bootstrap's data API JSON-decodes that attribute, and the Datepicker spreads the decoded object straight into Vanilla Calendar Pro, which renders its `layouts` option with `innerHTML` under an identity default sanitizer. Bootstrap's own security model promises that content is sanitized unless the integrator disables or modifies that sanitization, and scopes out only "vulnerabilities caused solely by disabling or modifying content sanitization". This report disables and modifies nothing: an application that renders untrusted HTML through default DOMPurify keeps the inert `data-bs-*` attributes (DOMPurify preserves `data-*` by default), so a single input carrying `data-bs-toggle="datepicker"` and a JSON `layouts.default` passes the sanitizer with no executable attribute, and the browser runs the attacker's script the moment a victim focuses that input. - Affected: `bootstrap` on the Bootstrap 6 line, including the published prerelease `6.0.0-alpha.1` (npm `next` tag, released 2026-10-08) and the default `main` branch at [`3b7f323`](https://github.com/twbs/bootstrap/blob/3b7f32318876bbd3c9cc14d3f891d744f39cd538/js/src/datepicker.ts#L419-L420). The Bootstrap 6 bundle ships Vanilla Calendar Pro (peer `vanilla-calendar-pro@^3.4.0`, resolved to `3.4.0`). - Not
## Summary [Bootstrap](https://github.com/twbs/bootstrap)'s new Datepicker plugin (Bootstrap 6) is documented to take any Vanilla Calendar Pro setting through the data attribute `data-bs-vcp-options`, holding a JSON object. Bootstrap's data API JSON-decodes that attribute, and the Datepicker spreads the decoded object straight into Vanilla Calendar Pro, which renders its `layouts` option with `innerHTML` under an identity default sanitizer. Bootstrap's own security model promises that content is sanitized unless the integrator disables or modifies that sanitization, and scopes out only "vulnerabilities caused solely by disabling or modifying content sanitization". This report disables and modifies nothing: an application that renders untrusted HTML through default DOMPurify keeps the inert `data-bs-*` attributes (DOMPurify preserves `data-*` by default), so a single input carrying `data-bs-toggle="datepicker"` and a JSON `layouts.default` passes the sanitizer with no executable attribute, and the browser runs the attacker's script the moment a victim focuses that input. - Affected: `bootstrap` on the Bootstrap 6 line, including the published prerelease `6.0.0-alpha.1` (npm `next` tag, released 2026-10-08) and the default `main` branch at [`3b7f323`](https://github.com/twbs/bootstrap/blob/3b7f32318876bbd3c9cc14d3f891d744f39cd538/js/src/datepicker.ts#L419-L420). The Bootstrap 6 bundle ships Vanilla Calendar Pro (peer `vanilla-calendar-pro@^3.4.0`, resolved to `3.4.0`). - Not
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-141416
CVSS 6.1/10 · MEDIUM · 01.12.2026
CWE: CWE-79, CWE-83
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Cross-Site Scripting (XSS)
Summary: ## Summary
[Bootstrap](https://github.com/twbs/bootstrap)'s new Datepicker plugin (Bootstrap 6) is documented to take any Vanilla Calendar Pro setting through the data attribute data-bs-vcp-options, holding a JSON object. Bootstrap's data API JSON-decodes that attribute, and the Datepicker spreads the decoded object straight into Vanilla Calendar Pro, which renders its layouts option with …
Affected: bootstrap
⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · user interaction required (UI:R) · low attack complexity (AC:L).
⚠️ Scope changes (S:C) — impact can cross security boundaries.
🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L); limited integrity modification (I:L); pivot to other systems possible.
🛡️ REMEDIATION
→ Apply vendor security update for bootstrap.
→ Add CSP headers, HTML-encode all user input.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
📋 Routine update cycle (30 days)
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]