CVE-2026-141416
## 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 the current stable default: `npm install bootstrap` installs `5.3.8` (npm `latest`), which has no Datepicker plugin and is unaffected. We report this before the first stable 6.0 release so the behavior does not ship in it. - Related but distinct root cause: this is not the Toggler issue GHSA-pj28-6c95-2682 (which we also reported, accepted for a fix in v6 alpha.2). The Toggler fix does not touch the Datepicker, and the exploit still executes on that private fix branch. See "Relationship to the T
Properties
- Summary
- Bootstrap: Datepicker data API turns a sanitizer-preserved `data-bs-vcp-options` attribute into executable calendar HTML
- Severity
- medium
- Nvd fetched at
- 2026-12-02T06:37:54.190518+00:00
- Cvss score
- 6.1
- Cvss severity
- MEDIUM
- Retrieved at
- 2026-12-02T06:39:20+00:00
- Ghsa published
- 2026-12-02T00:30:38Z
- Source url
- https://github.com/advisories/GHSA-hhp5-vh47-5858
- Ghsa updated
- 2026-12-02T00:30:39Z
- Ghsa id
- GHSA-hhp5-vh47-5858
- Last source
- GitHub Advisory Database
- Score
- 6.1
- Cvss version
- 3.1
- Cve id
- CVE-2026-141416
- Cvss vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- First seen by Signal
- 2026-12-01T22:36:00+00:00
- Name
- CVE-2026-141416
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Published at
- 2026-12-01T21:17:10.193
Related Entities (4)
HAS_WEAKNESS (2)
AFFECTS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph