Skip to content

Cross-Site Scripting in Bootstrap Package

Moderate severity GitHub Reviewed Published Apr 27, 2021 in benjaminkott/bootstrap_package • Updated Feb 1, 2023

Package

composer bk2k/bootstrap-package (Composer)

Affected versions

>= 7.1.0, < 7.1.2
>= 8.0.0, < 8.0.8
>= 9.0.0, < 9.0.4
>= 9.1.0, < 9.1.3
>= 10.0.0, < 10.0.10
>= 11.0.0, < 11.0.3

Patched versions

7.1.2
8.0.8
9.0.4
9.1.3
10.0.10
11.0.3

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.

References

Reviewed Apr 27, 2021
Published by the National Vulnerability Database Apr 27, 2021
Published to the GitHub Advisory Database Apr 29, 2021
Last updated Feb 1, 2023

Severity

Moderate
5.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2021-21365

GHSA ID

GHSA-p48w-vf3c-rqjx

Source code

No known source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.