Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
MEDIUM severity

CVE-2021-21365 — bootstrap-package

MEDIUMFix: benjaminkott/bootstrap_package@de3a568

CVE-2021-21365 is a medium-severity (CVSS 5.4) Cross-site Scripting (XSS) vulnerability in bk2k/bootstrap-package. 2 public exploit references exist, so weaponization risk is real. A fix is available for bk2k/bootstrap-package — see the affected versions and patch details below.

Cross-Site Scripting in Bootstrap Package

Also known asBIT-typo3-2021-21365GHSA-p48w-vf3c-rqjx
Published
Updated
Affected
6 pkgs
Patched
6 / 6
Exploits
2 known
Exploitation data as of Oct 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
0.9%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs60th percentile — riskier than 60% of all scored CVEsHighest risk
0.00%0.48%0.96%1.44%0.3%0.9%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2021-21365 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,987 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

6 pkgs affected
🐘bk2k/bootstrap-package🐘bk2k/bootstrap-package🐘bk2k/bootstrap-package🐘bk2k/bootstrap-package🐘bk2k/bootstrap-package🐘bk2k/bootstrap-package

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

Problem

It has been discovered that rendering content in the website frontend is vulnerable to cross-site scripting. A valid backend user account is needed to exploit this vulnerability.

The following templates are affected by the vulnerability:

  • Resources/Private/Partials/ContentElements/Carousel/Item/CallToAction.html
  • Resources/Private/Partials/ContentElements/Carousel/Item/Header.html
  • Resources/Private/Partials/ContentElements/Carousel/Item/Text.html
  • Resources/Private/Partials/ContentElements/Carousel/Item/TextAndImage.html
  • Resources/Private/Partials/ContentElements/Header/SubHeader.html

Users of the extension, who have overwritten the affected templates with custom code must manually apply the security fix as shown in this Git commit.

Solution

Update to version 7.1.2, 8.0.8, 9.0.4, 9.1.3, 10.0.10 or 11.0.3 of the Bootstrap Package that fix the problem described.

Updated version are available from the TYPO3 extension manager, Packagist and at https://extensions.typo3.org/extension/download/bootstrap_package/.

Credits

Thanks to TYPO3 security team member Oliver Hader who reported and fixed the issue.

Affected Packages

6 total 6 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistbk2k/bootstrap-package≥ 7.1.0&&< 7.1.27.1.2composer require bk2k/bootstrap-package:^7.1.2
🐘Packagistbk2k/bootstrap-package≥ 8.0.0&&< 8.0.88.0.8composer require bk2k/bootstrap-package:^8.0.8
🐘Packagistbk2k/bootstrap-package≥ 9.0.0&&< 9.0.49.0.4composer require bk2k/bootstrap-package:^9.0.4
🐘Packagistbk2k/bootstrap-package≥ 9.1.0&&< 9.1.39.1.3composer require bk2k/bootstrap-package:^9.1.3
🐘Packagistbk2k/bootstrap-package≥ 10.0.0&&< 10.0.1010.0.10composer require bk2k/bootstrap-package:^10.0.10
🐘Packagistbk2k/bootstrap-package≥ 11.0.0&&< 11.0.311.0.3composer require bk2k/bootstrap-package:^11.0.3

Affected Products

1 product · 6 configurations
Application
typo3typo3
≥ 11.0.0 && < 11.0.3
range
Exploits & PoCs
2

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for bk2k/bootstrap-package, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update bk2k/bootstrap-package to 7.1.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-21365 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

### Problem It has been discovered that rendering content in the website frontend is vulnerable to cross-site scripting. A valid backend user account is needed to exploit this vulnerability. The following templates are affected by the vulnerability: * `Resources/Private/Partials/ContentElements/Carousel/Item/CallToAction.html` * `Resources/Private/Partials/ContentElements/Carousel/Item/Header.html` * `Resources/Private/Partials/ContentElements/Carousel/Item/Text.html` * `Resources/Private/Partials/ContentElements/Carousel/Item/TextAndImage.html` * `Resources/Private/Partials/ContentElements/
O3 Security · Impact-Aware SCA

Is CVE-2021-21365 in your dependencies?

Find it across Packagist, including transitive dependencies.

CVE-2021-21365: bootstrap-package XSS — Fixed in 7.1.2