npm
CVE-2026-141416
Bootstrap: Datepicker data API turns a sanitizer-preserved `data-bs-vcp-options` attribute into executable calendar HTML
- Severity
- Medium 6.1
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Fixed in
- 6.0.0-alpha.2
- Exploit chance
- 0.5% in the next 30 daysHigher than 45% of CVEs. EPSS by FIRST, 2 Dec 2026
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Also known as
- GHSA-hhp5-vh47-5858
- Sources
- OSV.dev and GitHub
Description
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".
Affected software
| Software | Affected versions |
|---|---|
Bootstrapnpm · osv:npm:bootstrap |
|
About Bootstrap
web design front-end framework
- Share of all websites
- 12.7%W3Techs, Nov 2026
- Weekly downloads (npm)
- 7,834,976npm, 29 Nov 2026
- GitHub stars
- 175,117GitHub, 29 Nov 2026
- Forks
- 78,936GitHub, 29 Nov 2026
- Latest release
- v5.3.9GitHub, 29 Nov 2026
- Released
- 11 Nov 2026GitHub
- License
- MIT LicenseWikidata
- Written in
- JavaScript, Cascading Style Sheets, HTMLWikidata
- First released
- 19 Aug 2011Wikidata
- First published on GitHub
- 29 Jul 2011GitHub
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 5 (LTS)LTS | 5.3.9 | Yes |
| 4 (LTS)LTS | 4.6.2 | Ended 1 Jan 2023 |
| 3 (LTS)LTS | 3.4.1 | Ended 24 Jul 2019 |
| 2 | 2.3.2 | Ended 19 Aug 2013 |
From endoflife.date.
Vulnerabilities in Bootstrap
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-141468Bootstrap: The Toggler plugin turns sanitizer-approved `data-*` attributes into an executable inline event handlerMedium 6.1 2 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-141416
- GitHub Advisory Database https://github.com/advisories/GHSA-hhp5-vh47-5858