MEDIUM5.4
GHSA-fjh3-g8gq-9q92
Cross-Site Scripting in Content Preview
Quick fix
GHSA-fjh3-g8gq-9q92 — typo3/cms-backend: upgrade to the fixed version with the command below.
composer require typo3/cms-backend:^10.4.14Details
### 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)
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/typo3/cms-backend
Introduced in:
10.0.0Fixed in: 10.4.14Fix
composer require typo3/cms-backend:^10.4.14Packagist/typo3/cms-backend
Introduced in:
11.0.0Fixed in: 11.1.1Fix
composer require typo3/cms-backend:^11.1.1Packagist/typo3/cms-core
Introduced in:
10.0.0Fixed in: 10.4.14Fix
composer require typo3/cms-core:^10.4.14Packagist/typo3/cms-core
Introduced in:
11.0.0Fixed in: 11.1.1Fix
composer require typo3/cms-core:^11.1.1References
- https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-fjh3-g8gq-9q92[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2021-21340[ADVISORY]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-21340.yaml[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-21340.yaml[WEB]
- https://packagist.org/packages/typo3/cms-backend[WEB]
- https://typo3.org/security/advisory/typo3-core-sa-2021-007[WEB]