Advisory
GHSA-x7hc-x7fm-f7qh
Also known as: BIT-typo3-2021-21370, CVE-2021-21370
Summary
Cross-Site Scripting in Content Preview (CType menu)
Details
Problem
It has been discovered that content elements of type _menu_ are vulnerable to cross-site scripting when their referenced items get previewed in the page module. A valid backend user account is needed to exploit this vulnerability.
Solution
Update to TYPO3 versions 7.6.51, 8.7.40, 9.5.25, 10.4.14, 11.1.1 that fix the problem described.
Credits
Thanks to TYPO3 contributor Oliver Bartsch who reported and fixed the issue.
References
Severity
Medium Basis: The source's own band: MODERATE
Dates
- Published
- 2021-03-23 01:54 UTC
- Modified
- 2026-07-08 06:27 UTC
Affected packages and fixes
| Package | Affected | Fix |
|---|---|---|
| typo3/cms-backend | introduced 7.0.0, fixed 7.6.51 | The export has no generic command for this ecosystem. |
| typo3/cms-backend | introduced 8.0.0, fixed 8.7.40 | The export has no generic command for this ecosystem. |
| typo3/cms-backend | introduced 9.0.0, fixed 9.5.25 | The export has no generic command for this ecosystem. |
| typo3/cms-backend | introduced 10.0.0, fixed 10.4.14 | The export has no generic command for this ecosystem. |
| typo3/cms-backend | introduced 11.0.0, fixed 11.1.1 | The export has no generic command for this ecosystem. |
| typo3/cms-core | introduced 10.0.0, fixed 10.4.14 | The export has no generic command for this ecosystem. |
| typo3/cms-core | introduced 11.0.0, fixed 11.1.1 | The export has no generic command for this ecosystem. |
| typo3/cms-core | introduced 9.0.0, fixed 9.5.25 | The export has no generic command for this ecosystem. |
| typo3/cms | introduced 10.0.0, fixed 10.4.14 | The export has no generic command for this ecosystem. |
| typo3/cms | introduced 11.0.0, fixed 11.1.1 | The export has no generic command for this ecosystem. |
| typo3/cms | introduced 9.0.0, fixed 9.5.25 | The export has no generic command for this ecosystem. |
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-x7hc-x7fm-f7qh
- https://nvd.nist.gov/vuln/detail/CVE-2021-21370
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-21370.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-21370.yaml
- https://packagist.org/packages/typo3/cms-backend
- https://typo3.org/security/advisory/typo3-core-sa-2021-008
Source
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0