{"id":"GHSA-fjh3-g8gq-9q92","aliases":["BIT-typo3-2021-21340","CVE-2021-21340"],"title":"Cross-Site Scripting in Content Preview","description":"### Problem\nIt has been discovered that database fields used as _descriptionColumn_ are vulnerable to cross-site scripting when their content gets previewed in the page module. A valid backend user account is needed to exploit this vulnerability.\n\n### Solution\nUpdate to TYPO3 versions 10.4.14, 11.1.1 that fix the problem described.\n\n### Credits\nThanks to Richie Lee who reported this issue and to TYPO3 framework merger Andreas Fernandez who fixed the issue.\n\n### References\n* [TYPO3-CORE-SA-2021-007](https://typo3.org/security/advisory/typo3-core-sa-2021-007)","severity":"medium","score":5.4,"published":"2021-03-23T01:53:47.000Z","modified":"2026-07-08T06:28:00.165Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"typo3/cms-backend","ranges":[{"events":[{"introduced":"10.0.0"},{"fixed":"10.4.14"}],"type":"ECOSYSTEM"}],"versions":["v10.0.0","v10.1.0","v10.2.0","v10.2.1","v10.2.2","v10.3.0","v10.4.0","v10.4.1","v10.4.10","v10.4.11","v10.4.12","v10.4.13","v10.4.2","v10.4.3","v10.4.4","v10.4.5","v10.4.6","v10.4.7","v10.4.8","v10.4.9"],"fixed":["10.4.14"]},{"ecosystem":"Packagist","name":"typo3/cms-backend","ranges":[{"events":[{"introduced":"11.0.0"},{"fixed":"11.1.1"}],"type":"ECOSYSTEM"}],"versions":["v11.0.0","v11.1.0"],"fixed":["11.1.1"]},{"ecosystem":"Packagist","name":"typo3/cms-core","ranges":[{"events":[{"introduced":"10.0.0"},{"fixed":"10.4.14"}],"type":"ECOSYSTEM"}],"versions":["v10.0.0","v10.1.0","v10.2.0","v10.2.1","v10.2.2","v10.3.0","v10.4.0","v10.4.1","v10.4.10","v10.4.11","v10.4.12","v10.4.13","v10.4.2","v10.4.3","v10.4.4","v10.4.5","v10.4.6","v10.4.7","v10.4.8","v10.4.9"],"fixed":["10.4.14"]},{"ecosystem":"Packagist","name":"typo3/cms-core","ranges":[{"events":[{"introduced":"11.0.0"},{"fixed":"11.1.1"}],"type":"ECOSYSTEM"}],"versions":["v11.0.0","v11.1.0"],"fixed":["11.1.1"]},{"ecosystem":"Packagist","name":"typo3/cms","ranges":[{"events":[{"introduced":"10.0.0"},{"fixed":"10.4.14"}],"type":"ECOSYSTEM"}],"versions":["v10.0.0","v10.1.0","v10.2.0","v10.2.1","v10.2.2","v10.3.0","v10.4.0","v10.4.1","v10.4.10","v10.4.11","v10.4.12","v10.4.13","v10.4.2","v10.4.3","v10.4.4","v10.4.5","v10.4.6","v10.4.7","v10.4.8","v10.4.9"],"fixed":["10.4.14"]},{"ecosystem":"Packagist","name":"typo3/cms","ranges":[{"events":[{"introduced":"11.0.0"},{"fixed":"11.1.1"}],"type":"ECOSYSTEM"}],"versions":["v11.0.0","v11.1.0"],"fixed":["11.1.1"]}],"references":["https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-fjh3-g8gq-9q92","https://nvd.nist.gov/vuln/detail/CVE-2021-21340","https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-21340.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-21340.yaml","https://packagist.org/packages/typo3/cms-backend","https://typo3.org/security/advisory/typo3-core-sa-2021-007"],"sources":[{"name":"OSV","id":"GHSA-fjh3-g8gq-9q92","modified":"2026-07-08T06:28:00.165150552Z","url":"https://osv.dev/vulnerability/GHSA-fjh3-g8gq-9q92"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4}]}