{"id":"CVE-2021-32668","aliases":["CVE-2021-32668","GHSA-6mh3-j5r5-2379","BIT-TYPO3-2021-32668"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in Query Generator & Query View","summary":"TYPO3 is an open source PHP based web content management system. Versions 9.0.0 through 9.5.28, 10.0.0 through 10.4.17, and 11.0.0 through 11.3.0 have a cross-site scripting vulnerability. When error messages are not properly encoded, 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. TYPO3 versions 9.5.29, 10.4.18, 11.3.1 contain a patch for this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"TYPO3 is an open source PHP based web content management system. Versions 9.0.0 through 9.5.28, 10.0.0 through 10.4.17, and 11.0.0 through 11.3.0 have a cross-site scripting vulnerability. When error messages are not properly encoded, 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. TYPO3 versions 9.5.29, 10.4.18, 11.3.1 contain a patch for this issue.","source":"cvelist"},{"lang":"en","text":"> ### Meta\n> * 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)\n\n### Problem\nFailing 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.\n\n### Solution\nUpdate to TYPO3 versions 8.7.41 ELTS, 9.5.28, 10.4.18, 11.3.1 that fix the problem described.\n\n### Credits\nThanks to Richie Lee who reported this issue and to TYPO3 security team member Oliver Hader who fixed the issue.\n\n### References\n* [TYPO3-CORE-SA-2021-010](https://typo3.org/security/advisory/typo3-core-sa-2021-010)","format":"markdown","source":"ghsa"},{"lang":"es","text":"TYPO3 es un sistema de administración de contenidos web de código abierto basado en PHP. Unas versiones 9.0.0 hasta 9.5.28, versiones 10.0.0 hasta 10.4.17 y versiones 11.0.0 hasta 11.3.0, presentan una vulnerabilidad de tipo cross-site scripting. Cuando los mensajes de error no son codificados apropiadamente, los componentes _QueryGenerator_ y _QueryView_ son vulnerables a un ataque de tipo cross-site scripting reflejado y persistente. Es necesaria una cuenta de usuario backend válida con privilegios de administrador para explotar esta vulnerabilidad. TYPO3 versiones 9.5.29, 10.4.18 y 11.3.1, contienen un parche para este problema","source":"nvd"}],"published":"2021-07-20T14:45:13.000Z","modified":"2026-07-08T06:28:42.705Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","score":6.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","score":6.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"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":">= 9.0.0, < 9.5.29","status":"affected"},{"version":">= 10.0.0, < 10.4.18","status":"affected"},{"version":">= 11.0.0, < 11.3.1","status":"affected"}],"vendor":"TYPO3","product":"TYPO3.CMS","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"8.0.0","status":"affected","fixed":"8.7.41"}],"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.28"}],"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.18"}],"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.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.18"}],"ecosystem":"Packagist","package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"11.0.0","status":"affected","fixed":"11.3.1"}],"ecosystem":"Packagist","package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0","status":"affected","fixed":"9.5.28"}],"ecosystem":"Packagist","package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"8.0.0","lastAffected":"8.7.40"},{"status":"affected","introduced":"9.0.0","lastAffected":"9.5.28"},{"status":"affected","introduced":"10.0.0","lastAffected":"10.4.17"},{"status":"affected","introduced":"11.0.0","lastAffected":"11.3.0"}],"vendor":"typo3","product":"typo3","cpe":"cpe:2.3:a:typo3:typo3:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.7.40"},{"type":"semver","introduced":"9.0.0","status":"affected","fixed":"9.5.28"},{"type":"semver","introduced":"10.0.0","status":"affected","fixed":"10.4.17"},{"type":"semver","introduced":"11.0.0","status":"affected","fixed":"11.3.0"}],"ecosystem":"Bitnami","package":"typo3","purl":"pkg:bitnami/typo3","source":"bitnami"}],"references":[{"url":"https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-6mh3-j5r5-2379","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://typo3.org/security/advisory/typo3-core-sa-2021-010","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/TYPO3/typo3/security/advisories/GHSA-6mh3-j5r5-2379","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32668","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-32668.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-32668.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/TYPO3/typo3","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32668","url":"https://www.cve.org/CVERecord?id=CVE-2021-32668","licence":"CVE Terms of Use","modified":"2024-08-03T23:25:31.124Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6mh3-j5r5-2379","url":"https://github.com/advisories/GHSA-6mh3-j5r5-2379","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:42.705Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32668","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32668","licence":"Public domain","modified":"2026-06-17T03:53:23.063Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-TYPO3-2021-32668","url":"https://osv.dev/vulnerability/BIT-TYPO3-2021-32668","licence":"Apache-2.0","modified":"2024-03-06T11:25:28.861Z"}],"updatedAt":"2026-11-25T22:58:02.742Z","epss":{"score":0.00598,"percentile":0.49979,"date":"2026-12-01T12:00:22.000Z"}}