GHSA-8mq9-fqv8-59wf
Cross-Site Scripting in Page Preview
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | typo3/cms-core | >= 9.0.0, < 9.5.28 | 9.5.28 |
| Packagist | typo3/cms-core | >= 10.0.0, < 10.4.18 | 10.4.18 |
| Packagist | typo3/cms-core | >= 11.0.0, < 11.3.1 | 11.3.1 |
| Packagist | typo3/cms | >= 10.0.0, < 10.4.18 | 10.4.18 |
| Packagist | typo3/cms | >= 11.0.0, < 11.3.1 | 11.3.1 |
| Packagist | typo3/cms | >= 9.0.0, < 9.5.28 | 9.5.28 |
Details
As written in the advisory (Markdown source, shown as plain text).
> ### Meta
> * CVSS: `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N/E:F/RL:O/RC` (5.0)
### Problem
Failing to properly encode _Page TSconfig_ settings, corresponding page preview module (_Web>View_) is vulnerable to persistent cross-site scripting. A valid backend user account is needed to exploit this vulnerability.
### Solution
Update to TYPO3 versions 9.5.28, 10.4.18, 11.3.1 that fix the problem described.
### Credits
Thanks to TYPO3 core merger Oliver Bartsch who reported and fixed the issue.
### References
* [TYPO3-CORE-SA-2021-009](https://typo3.org/security/advisory/typo3-core-sa-2021-009)
References
External links from the advisory. They lead to third-party sites.
- https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-8mq9-fqv8-59wf
- https://github.com/TYPO3/typo3/security/advisories/GHSA-8mq9-fqv8-59wf
- https://nvd.nist.gov/vuln/detail/CVE-2021-32667
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-32667.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-32667.yaml
- https://github.com/TYPO3/typo3
- https://typo3.org/security/advisory/typo3-core-sa-2021-009