HIGH8.8
GHSA-x428-565f-8xj2
TYPO3 Arbitrary Code Execution and Cross-Site Scripting in Backend API
Quick fix
GHSA-x428-565f-8xj2 — typo3/cms-core: upgrade to the fixed version with the command below.
composer require typo3/cms-core:^8.7.27Details
Backend API configuration using Page TSconfig is vulnerable to arbitrary code execution and cross-site scripting. TSconfig fields of page properties in backend forms can be used to inject malicious sequences. Field tsconfig_includes is vulnerable to directory traversal leading to same scenarios as having direct access to TSconfig settings.
A valid backend user account having access to modify values for fields `pages.TSconfig` and `pages.tsconfig_includes` is needed in order to exploit this vulnerability.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/typo3/cms-core
Introduced in:
8.0.0Fixed in: 8.7.27Fix
composer require typo3/cms-core:^8.7.27Packagist/typo3/cms-core
Introduced in:
9.0.0Fixed in: 9.5.8Fix
composer require typo3/cms-core:^9.5.8References
- https://github.com/TYPO3-CMS/core/commit/3a99a0877de6ad9cb39ba73146292b90e13294db[WEB]
- https://github.com/TYPO3-CMS/core/commit/822e62ec267fbe3c70a26f1c4f73f47fc615c930[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/2019-06-25-4.yaml[WEB]
- https://github.com/TYPO3-CMS/core[PACKAGE]
- https://typo3.org/security/advisory/typo3-core-sa-2019-019[WEB]