Cross-Site Scripting in Page Preview
Published 22 Jul 2021 · Updated 8 Jul 2026
Affected packages
- Affected
- >=9.0.0 <9.5.28
- Fixed in
- 9.5.28
composer require typo3/cms-core:^9.5.28- Affected
- >=10.0.0 <10.4.18
- Fixed in
- 10.4.18
composer require typo3/cms-core:^10.4.18- Affected
- >=11.0.0 <11.3.1
- Fixed in
- 11.3.1
composer require typo3/cms-core:^11.3.1- Affected
- >=10.0.0 <10.4.18
- Fixed in
- 10.4.18
composer require typo3/cms:^10.4.18- Affected
- >=11.0.0 <11.3.1
- Fixed in
- 11.3.1
composer require typo3/cms:^11.3.1- Affected
- >=9.0.0 <9.5.28
- Fixed in
- 9.5.28
composer require typo3/cms:^9.5.28Details
> ### 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
Is GHSA-8mq9-fqv8-59wf in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected typo3/cms-core, and gives you the command that fixes it.
References
- Linkgithub.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-8mq9-fqv8-59wf
- Linkgithub.com/TYPO3/typo3/security/advisories/GHSA-8mq9-fqv8-59wf
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-32667
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-32667.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-32667.yaml
- Packagegithub.com/TYPO3/typo3
- Linktypo3.org/security/advisory/typo3-core-sa-2021-009
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.