Install

Works with Drupal: ^10.5 || ^11.2 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 269.28 KB
MD5: 50ff104ed60f87d5984ae16f0c5af87f
SHA-1: 65195cd50cffecb9a4187aff37ac82687bd23d62
SHA-256: 37cf499960c8fb957cc1487bbb80a6ef0338239f6ea535bec73b88d65991e09d
Download zip 448.77 KB
MD5: 1211e0ef8fe701698e5099c6286750a7
SHA-1: a2faf421a56063aadbefe316aa3f3729317c2753
SHA-256: d3e90baf78de9392522f9357bb27d1cf5891ee914181977d96e9f34c05ef8597

Release notes

First stable release of the 2.1.x line. It includes everything from the original Bootstrap theme up to 8.x-3.45, including a security fix. All sites on 2.0.0 or a 2.1.0 release candidate should update.

Security

This release fixes a cross-site scripting vulnerability in the optional tooltip and popover features, the same one fixed by SA-CONTRIB-2026-236 in the original Bootstrap theme. The behaviors passed an element's own data-* attributes to the Bootstrap plugin as options. A content author allowed to write data-sanitize="false" could therefore turn off the HTML sanitizer for that tooltip or popover. The behaviors now drop sanitize, sanitizeFn and whiteList from the element data (#3595886).

Bootstrap 3 is not covered by the security advisory policy, so no separate advisory will be published for this project. If you cannot update right away, disable tooltips and popovers in the theme settings (/admin/appearance/settings/YOUR_THEME).

Requirements

  • Drupal 10.5 or later, or 11.2 or later. Sites on 10.4 or 11.1 must update core first.
  • The jquery_ui, jquery_ui_draggable and jquery_ui_resizable modules, as in 2.0.0.
  • Drupal 12: the info file already allows it, but the theme cannot be installed there yet, because the jquery_ui modules have no release that supports Drupal 12.

Upgrade notes

  • Run database updates (drush updb). A post-update clears cached HTTP responses that newer Symfony versions can no longer unserialize.
  • The default CDN version is now Bootstrap library v3.4.10. Sites that use the default version get it automatically. Sites that pinned a CDN version should select 3.4.10 in the theme settings.

Changes since 2.0.0

Security and library

  • #3595886: Backport the bootstrap 8.x-3.45 changes (tooltip and popover XSS fix, library v3.4.10)
  • #3630726: Upgrade the Bootstrap library from v3.4.8 to v3.4.9 (CVE-2025-1647)

Bug fixes

  • #3628721: Region content is empty after core renders regions through #theme
  • #3522678: Cannot assign a ParameterBag to Request::$request when unserializing cached responses
  • #3558024: Inverted filter logic in DrupalBootstrapStyles causes duplicate CSS files
  • #3542168: Do not use Drupal core's version for libraries
  • #3560258: "Array to string conversion" warning on Drupal 11.3
  • #3557071: TypeError in the breadcrumb title when there is no route

Drupal 11.3 and 12 compatibility

  • #3595883: Backport the bootstrap 8.x-3.41 and 8.x-3.42 changes, build the theme registry with the Drupal 11.3 and 12 constructor signatures, fix a recursive call in bootstrap3_get_theme_info()
  • #3595881: Automated Drupal 12 compatibility fixes
  • #3582937: Stop using the deprecated getBaseThemes()

Tests and maintenance

  • #3595884: Backport the bootstrap 8.x-3.43 changes
  • #3595885: Backport the bootstrap 8.x-3.44 changes
  • #3629695: JavaScript test coverage (node test suite, run in CI)
  • #3536372: phpcs fixes, info file aligned with composer.json
  • cspell fixes

Thanks to joseph.olstad, Phill Tran, Hendrik Osterholz, Madelyn Cruz and everyone who contributed to these issues in the original Bootstrap theme.

Created by: mably
Created on: 21 Oct 2026 at 20:32 UTC
Last updated: 21 Oct 2026 at 20:32 UTC
Bug fixes

Other releases