GitHub Advisoryadvisory · Packagist
GHSA-p48w-vf3c-rqjx Cross-Site Scripting in Bootstrap Package
MEDIUM
Official page ↗
- Aliases
- CVE-2021-21365
- Ecosystem
- Packagist
- Packages
- bk2k/bootstrap-package
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2021-04-27
Affected packages
• Packagist bk2k/bootstrap-package: >= 7.1.0, < 7.1.2 → fixed in 7.1.2
• Packagist bk2k/bootstrap-package: >= 8.0.0, < 8.0.8 → fixed in 8.0.8
• Packagist bk2k/bootstrap-package: >= 9.0.0, < 9.0.4 → fixed in 9.0.4
• Packagist bk2k/bootstrap-package: >= 9.1.0, < 9.1.3 → fixed in 9.1.3
• Packagist bk2k/bootstrap-package: >= 10.0.0, < 10.0.10 → fixed in 10.0.10
• Packagist bk2k/bootstrap-package: >= 11.0.0, < 11.0.3 → fixed in 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.
Related
Alias · CVE (1)
- CVE-2021-21365 Bootstrap Package is a theme for TYPO3. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/benjaminkott/bootstrap_package/security/advisories/GHSA-p48w-vf3c-rqjx web
- https://nvd.nist.gov/vuln/detail/CVE-2021-21365 advisory
- https://github.com/benjaminkott/bootstrap_package/commit/de3a568fc311d6712d9339643e51e8627c80530b web
- https://typo3.org/security/advisory/typo3-ext-sa-2021-007 web