Cross-Site Scripting in Query Generator & Query View
Published 22 Jul 2021 · Updated 8 Jul 2026
Affected packages
- Affected
- >=8.0.0 <8.7.41
- Fixed in
- 8.7.41
composer require typo3/cms-core:^8.7.41- 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:H/UI:R/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C (4.5)
Problem
Failing to properly encode error messages, the components _QueryGenerator_ and _QueryView_ are vulnerable to both reflected and persistent cross-site scripting. A valid backend user account having administrator privileges is needed to exploit this vulnerability.
Solution
Update to TYPO3 versions 8.7.41 ELTS, 9.5.28, 10.4.18, 11.3.1 that fix the problem described.
Credits
Thanks to Richie Lee who reported this issue and to TYPO3 security team member Oliver Hader who fixed the issue.
References
Is GHSA-6mh3-j5r5-2379 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-6mh3-j5r5-2379
- Linkgithub.com/TYPO3/typo3/security/advisories/GHSA-6mh3-j5r5-2379
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-32668
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-32668.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-32668.yaml
- Packagegithub.com/TYPO3/typo3
- Linktypo3.org/security/advisory/typo3-core-sa-2021-010
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.