MEDIUM5.4
GHSA-x7hc-x7fm-f7qh
Cross-Site Scripting in Content Preview (CType menu)
Quick fix
GHSA-x7hc-x7fm-f7qh — typo3/cms-backend: upgrade to the fixed version with the command below.
composer require typo3/cms-backend:^7.6.51Details
### Problem It has been discovered that content elements of type _menu_ are vulnerable to cross-site scripting when their referenced items get previewed in the page module. A valid backend user account is needed to exploit this vulnerability.
### Solution Update to TYPO3 versions 7.6.51, 8.7.40, 9.5.25, 10.4.14, 11.1.1 that fix the problem described.
### Credits Thanks to TYPO3 contributor Oliver Bartsch who reported and fixed the issue.
### References * [TYPO3-CORE-SA-2021-008](https://typo3.org/security/advisory/typo3-core-sa-2021-008)
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/typo3/cms-backend
Introduced in:
7.0.0Fixed in: 7.6.51Fix
composer require typo3/cms-backend:^7.6.51Packagist/typo3/cms-backend
Introduced in:
8.0.0Fixed in: 8.7.40Fix
composer require typo3/cms-backend:^8.7.40Packagist/typo3/cms-backend
Introduced in:
9.0.0Fixed in: 9.5.25Fix
composer require typo3/cms-backend:^9.5.25Packagist/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.1Packagist/typo3/cms-core
Introduced in:
9.0.0Fixed in: 9.5.25Fix
composer require typo3/cms-core:^9.5.25References
- https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-x7hc-x7fm-f7qh[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2021-21370[ADVISORY]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-21370.yaml[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-21370.yaml[WEB]
- https://packagist.org/packages/typo3/cms-backend[WEB]
- https://typo3.org/security/advisory/typo3-core-sa-2021-008[WEB]