All vulnerabilities

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
Weakness
Cross-site scripting (CWE-79)CWE-83
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".

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Bootstrapnpm · osv:npm:bootstrap
  • From 6.0.0-alpha.1 before 6.0.0-alpha.2

About Bootstrap

web design front-end framework

From Wikidata, CC0 1.0.
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

ReleaseLatestSecurity fixes
5 (LTS)LTS5.3.9Yes
4 (LTS)LTS4.6.2Ended 1 Jan 2023
3 (LTS)LTS3.4.1Ended 24 Jul 2019
22.3.2Ended 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
Search the list for Bootstrap

References