GitHub Advisory Database
GHSA-6mh3-j5r5-2379
Cross-Site Scripting in Query Generator & Query View
Details
> ### 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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | typo3/cms-core | From 8.0.0 before 8.7.41 (fixed in 8.7.41) |
| Packagist | typo3/cms-core | From 9.0.0 before 9.5.28 (fixed in 9.5.28) |
| Packagist | typo3/cms-core | From 10.0.0 before 10.4.18 (fixed in 10.4.18) |
| Packagist | typo3/cms-core | From 11.0.0 before 11.3.1 (fixed in 11.3.1) |
| Packagist | typo3/cms | From 10.0.0 before 10.4.18 (fixed in 10.4.18) |
| Packagist | typo3/cms | From 11.0.0 before 11.3.1 (fixed in 11.3.1) |
| Packagist | typo3/cms | From 9.0.0 before 9.5.28 (fixed in 9.5.28) |
References
- https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-6mh3-j5r5-2379
- https://github.com/TYPO3/typo3/security/advisories/GHSA-6mh3-j5r5-2379
- https://nvd.nist.gov/vuln/detail/CVE-2021-32668
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-32668.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-32668.yaml
- https://github.com/TYPO3/typo3
- https://typo3.org/security/advisory/typo3-core-sa-2021-010