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

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

EPSS score

0.063%
(28th percentile)

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.