{"id":"CVE-2021-21340","aliases":["CVE-2021-21340","GHSA-fjh3-g8gq-9q92","BIT-TYPO3-2021-21340"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in Content Preview","summary":"TYPO3 is an open source PHP based web content management system. In TYPO3 before versions 10.4.14, 11.1.1 it has been discovered that database fields used as _descriptionColumn_ are vulnerable to cross-site scripting when their content gets previewed. A valid backend user account is needed to exploit this vulnerability. This is fixed in versions 10.4.14, 11.1.1 .","summarySource":"cvelist","descriptions":[{"lang":"en","text":"TYPO3 is an open source PHP based web content management system. In TYPO3 before versions 10.4.14, 11.1.1 it has been discovered that database fields used as _descriptionColumn_ are vulnerable to cross-site scripting when their content gets previewed. A valid backend user account is needed to exploit this vulnerability. This is fixed in versions 10.4.14, 11.1.1 .","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"TYPO3 es un sistema de gestión de contenidos web de código abierto basado en PHP. En TYPO3 versiones anteriores a la 10.4.14, 11.1.1 se ha descubierto que los campos de la base de datos utilizados como _descriptionColumn_ son vulnerables al cross-site scripting cuando su contenido se previsualiza. Se necesita una cuenta de usuario válida para explotar esta vulnerabilidad. Esto se ha corregido en las versiones 10.4.14, 11.1.1","source":"nvd"}],"published":"2021-03-23T01:50:34.000Z","modified":"2026-07-08T06:28:00.165Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 10.0.0, <= 10.4.13","status":"affected"},{"version":">= 11.0.0, <= 11.1.0","status":"affected"}],"vendor":"TYPO3","product":"TYPO3.CMS","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"10.0.0","status":"affected","fixed":"10.4.14"}],"ecosystem":"Packagist","package":"typo3/cms-backend","purl":"pkg:composer/typo3/cms-backend","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"11.0.0","status":"affected","fixed":"11.1.1"}],"ecosystem":"Packagist","package":"typo3/cms-backend","purl":"pkg:composer/typo3/cms-backend","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"10.0.0","status":"affected","fixed":"10.4.14"}],"ecosystem":"Packagist","package":"typo3/cms-core","purl":"pkg:composer/typo3/cms-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"11.0.0","status":"affected","fixed":"11.1.1"}],"ecosystem":"Packagist","package":"typo3/cms-core","purl":"pkg:composer/typo3/cms-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"10.0.0","status":"affected","fixed":"10.4.14"}],"ecosystem":"Packagist","package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"11.0.0","status":"affected","fixed":"11.1.1"}],"ecosystem":"Packagist","package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"10.0.0","fixed":"10.4.14"},{"status":"affected","introduced":"11.0.0","fixed":"11.1.1"}],"vendor":"typo3","product":"typo3","cpe":"cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"10.0.0","status":"affected","fixed":"10.4.14"},{"type":"semver","introduced":"11.0.0","status":"affected","fixed":"11.1.1"}],"ecosystem":"Bitnami","package":"typo3","purl":"pkg:bitnami/typo3","source":"bitnami"}],"references":[{"url":"https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-fjh3-g8gq-9q92","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://packagist.org/packages/typo3/cms-backend","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://typo3.org/security/advisory/typo3-core-sa-2021-007","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21340","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-21340.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-21340.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21340","url":"https://www.cve.org/CVERecord?id=CVE-2021-21340","licence":"CVE Terms of Use","modified":"2024-08-03T18:09:15.910Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fjh3-g8gq-9q92","url":"https://github.com/advisories/GHSA-fjh3-g8gq-9q92","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:00.165Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21340","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21340","licence":"Public domain","modified":"2026-06-17T03:35:19.993Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-TYPO3-2021-21340","url":"https://osv.dev/vulnerability/BIT-TYPO3-2021-21340","licence":"Apache-2.0","modified":"2024-03-06T11:25:28.861Z"}],"updatedAt":"2026-11-25T22:58:00.377Z","epss":{"score":0.00872,"percentile":0.59938,"date":"2026-12-01T12:00:22.000Z"}}