GHSA-fjh3-g8gq-9q92
Cross-Site Scripting in Content Preview
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | typo3/cms-backend | >= 10.0.0, < 10.4.14 | 10.4.14 |
| Packagist | typo3/cms-backend | >= 11.0.0, < 11.1.1 | 11.1.1 |
| Packagist | typo3/cms-core | >= 10.0.0, < 10.4.14 | 10.4.14 |
| Packagist | typo3/cms-core | >= 11.0.0, < 11.1.1 | 11.1.1 |
| Packagist | typo3/cms | >= 10.0.0, < 10.4.14 | 10.4.14 |
| Packagist | typo3/cms | >= 11.0.0, < 11.1.1 | 11.1.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Problem
It has been discovered that database fields used as _descriptionColumn_ are vulnerable to cross-site scripting when their content gets previewed in the page module. A valid backend user account is needed to exploit this vulnerability.
### Solution
Update to TYPO3 versions 10.4.14, 11.1.1 that fix the problem described.
### Credits
Thanks to Richie Lee who reported this issue and to TYPO3 framework merger Andreas Fernandez who fixed the issue.
### References
* [TYPO3-CORE-SA-2021-007](https://typo3.org/security/advisory/typo3-core-sa-2021-007)
References
External links from the advisory. They lead to third-party sites.
- https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-fjh3-g8gq-9q92
- https://nvd.nist.gov/vuln/detail/CVE-2021-21340
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-21340.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-21340.yaml
- https://packagist.org/packages/typo3/cms-backend
- https://typo3.org/security/advisory/typo3-core-sa-2021-007