{"id":"CVE-2021-32768","aliases":["CVE-2021-32768","GHSA-c5c9-8c6m-727v","BIT-TYPO3-2021-32768"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting via Rich-Text Content","summary":"TYPO3 is an open source PHP based web content management system released under the GNU GPL. In affected versions failing to properly parse, sanitize and encode malicious rich-text content, the content rendering process in the website frontend is vulnerable to cross-site scripting. Corresponding rendering instructions via TypoScript functionality HTMLparser does not consider all potentially malicious HTML tag & attribute combinations per default. In default scenarios, a valid backend user account is needed to exploit this vulnerability. In case custom plugins used in the website frontend accept and reflect rich-text content submitted by users, no authentication is required. Update to TYPO3 versions 7.6.53 ELTS, 8.7.42 ELTS, 9.5.29, 10.4.19, 11.3.2 that fix the problem described.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"TYPO3 is an open source PHP based web content management system released under the GNU GPL. In affected versions failing to properly parse, sanitize and encode malicious rich-text content, the content rendering process in the website frontend is vulnerable to cross-site scripting. Corresponding rendering instructions via TypoScript functionality HTMLparser does not consider all potentially malicious HTML tag & attribute combinations per default. In default scenarios, a valid backend user account is needed to exploit this vulnerability. In case custom plugins used in the website frontend accept and reflect rich-text content submitted by users, no authentication is required. Update to TYPO3 versions 7.6.53 ELTS, 8.7.42 ELTS, 9.5.29, 10.4.19, 11.3.2 that fix the problem described.","source":"cvelist"},{"lang":"en","text":"> ### Meta\n> * CVSS: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:F/RL:O/RC` (5.7)\n\n### Problem\nFailing to properly parse, sanitize and encode malicious rich-text content, the content rendering process in the website frontend is vulnerable to cross-site scripting. Corresponding rendering instructions via TypoScript functionality _[HTMLparser](https://docs.typo3.org/m/typo3/reference-typoscript/10.4/en-us/Functions/Htmlparser.html)_ do not consider all potentially malicious HTML tag & attribute combinations per default.\n\nIn addition, the lack of comprehensive default node configuration for rich-text fields in the backend user interface fosters this malfunction.\n\nIn default scenarios, a valid backend user account is needed to exploit this vulnerability. In case custom plugins used in the website frontend accept and reflect rich-text content submitted by users, no authentication is required.\n\n### Solution\nUpdate to TYPO3 versions 7.6.53 ELTS, 8.7.42 ELTS, 9.5.29, 10.4.19, 11.3.2 that fix the problem described above.\n\nCustom package _[typo3/html-sanitizer](https://github.com/TYPO3/html-sanitizer)_ - based on allow-lists only - takes care of sanitizing potentially malicious markup. The default behavior is based on safe and commonly used markup - however, this can be extended or restricted further in case it is necessary for individual scenarios.\n\nDuring the frontend rendering process, sanitization is applied to the default TypoScript path `lib.parseFunc`, which is implicitly used by the Fluid view-helper instruction `f:format.html`. Rich-text data persisted using the backend user interface is sanitized as well. Implementation details are explained in corresponding [ChangeLog documentation](https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.5.x/Important-94484-IntroduceHTMLSanitizer.html).\n\n### Credits\nThanks to Benjamin Stiber, Gert-Jan Jansma, Gábor Ács-Kurucz, Alexander Kellner, Richie Lee, Nina Rösch who reported this issue, and to TYPO3 security team member Oliver Hader, as well as TYPO3 contributor Susanne Moog who fixed the issue.\n\n### References\n* [TYPO3-CORE-SA-2021-013](https://typo3.org/security/advisory/typo3-core-sa-2021-013)","format":"markdown","source":"ghsa"},{"lang":"es","text":"TYPO3 es un sistema de administrador de contenidos web de código abierto basado en PHP y publicado bajo la licencia GNU GPL. En las versiones afectadas que no analizan, sanean y codifican apropiadamente el contenido de texto enriquecido malicioso, el proceso de representación del contenido en el frontend del sitio web es vulnerable a un ataque de tipo cross-site scripting. Las instrucciones de renderización correspondientes por medio de la funcionalidad TypoScript HTMLparser no considera todas las combinaciones de etiquetas y atributos HTML potencialmente maliciosas por defecto. En los escenarios predeterminados, se necesita una cuenta de usuario de backend válida para explotar esta vulnerabilidad. En caso de que los plugins personalizados usados en el frontend del sitio web acepten y reflejen el contenido de texto enriquecido enviado por usuarios, no es requerida una autenticación. Actualizar a versiones de TYPO3 7.6.53 ELTS, 8.7.42 ELTS, 9.5.29, 10.4.19, 11.3.2 que corrigen el problema descrito","source":"nvd"}],"published":"2021-08-10T16:30:11.000Z","modified":"2026-07-08T06:29:25.329Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 7.0.0, < 7.6.53","status":"affected"},{"version":">= 8.0.0, < 8.7.42","status":"affected"},{"version":">= 9.0.0, < 9.5.29","status":"affected"},{"version":">= 10.0.0, < 10.4.19","status":"affected"},{"version":">= 11.0.0, < 11.3.2","status":"affected"}],"vendor":"TYPO3","product":"TYPO3.CMS","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"7.0.0","status":"affected","fixed":"7.6.53"}],"ecosystem":"Packagist","package":"typo3/cms-core","purl":"pkg:composer/typo3/cms-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.0.0","status":"affected","fixed":"8.7.42"}],"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.19"}],"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.3.2"}],"ecosystem":"Packagist","package":"typo3/cms-core","purl":"pkg:composer/typo3/cms-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0","status":"affected","fixed":"9.5.29"}],"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.19"}],"ecosystem":"Packagist","package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"11.0.0","status":"affected","fixed":"11.3.2"}],"ecosystem":"Packagist","package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0","status":"affected","fixed":"9.5.29"}],"ecosystem":"Packagist","package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.0.0","status":"affected","fixed":"8.7.42"}],"ecosystem":"Packagist","package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.0.0","status":"affected","fixed":"7.6.53"}],"ecosystem":"Packagist","package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"7.0.0","lastAffected":"7.6.52"},{"status":"affected","introduced":"8.0.0","lastAffected":"8.7.41"},{"status":"affected","introduced":"9.0.0","lastAffected":"9.5.28"},{"status":"affected","introduced":"10.0.0","lastAffected":"10.4.18"},{"status":"affected","introduced":"11.0.0","lastAffected":"11.3.1"}],"vendor":"typo3","product":"typo3","cpe":"cpe:2.3:a:typo3:typo3:*:*:*:*:elts:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.6.52"},{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.7.41"},{"type":"semver","introduced":"9.0.0","status":"affected","fixed":"9.5.28"},{"type":"semver","introduced":"10.0.0","status":"affected","fixed":"10.4.18"},{"type":"semver","introduced":"11.0.0","status":"affected","fixed":"11.3.1"}],"ecosystem":"Bitnami","package":"typo3","purl":"pkg:bitnami/typo3","source":"bitnami"}],"references":[{"url":"https://typo3.org/security/advisory/typo3-core-sa-2021-013","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-c5c9-8c6m-727v","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/TYPO3/typo3/security/advisories/GHSA-c5c9-8c6m-727v","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32768","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-32768.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-32768.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32768","url":"https://www.cve.org/CVERecord?id=CVE-2021-32768","licence":"CVE Terms of Use","modified":"2024-08-03T23:33:55.826Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c5c9-8c6m-727v","url":"https://github.com/advisories/GHSA-c5c9-8c6m-727v","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:25.329Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32768","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32768","licence":"Public domain","modified":"2026-06-17T03:53:35.440Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-TYPO3-2021-32768","url":"https://osv.dev/vulnerability/BIT-TYPO3-2021-32768","licence":"Apache-2.0","modified":"2024-03-06T11:25:28.861Z"}],"updatedAt":"2026-11-25T22:58:03.089Z","epss":{"score":0.00727,"percentile":0.55367,"date":"2026-12-01T12:00:22.000Z"}}