CVE-2021-32668
JSON

6.4medium

Cross-Site Scripting in Query Generator & Query View

Severity
6.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.60% (higher than 49% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-6mh3-j5r5-2379BIT-TYPO3-2021-32668

Description

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.

Affected

Product or packageVersionsReported by
TYPO3 TYPO3.CMS>= 9.0.0, < 9.5.29, >= 10.0.0, < 10.4.18, >= 11.0.0, < 11.3.1CVE List
typo3/cms-core (Packagist)from 8.0.0 before 8.7.41, from 9.0.0 before 9.5.28, from 10.0.0 before 10.4.18, from 11.0.0 before 11.3.1GitHub Advisory Database
typo3/cms (Packagist)from 10.0.0 before 10.4.18, from 11.0.0 before 11.3.1, from 9.0.0 before 9.5.28GitHub Advisory Database
typo3 typo3from 8.0.0 up to 8.7.40, from 9.0.0 up to 9.5.28, from 10.0.0 up to 10.4.17, from 11.0.0 up to 11.3.0NVD
typo3 (Bitnami)from 8.0.0 before 8.7.40, from 9.0.0 before 9.5.28, from 10.0.0 before 10.4.17, from 11.0.0 before 11.3.0Bitnami Vulnerability Database

All scores

GitHub_M6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
GitHub6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
NVD4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N
Bitnami Vulnerability Databasemedium rating

Classification

What each source says

CVE List

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.

GitHub Advisory Database
Meta
  • 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)
Problem

Failing 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.

Solution

Update to TYPO3 versions 8.7.41 ELTS, 9.5.28, 10.4.18, 11.3.1 that fix the problem described.

Credits

Thanks to Richie Lee who reported this issue and to TYPO3 security team member Oliver Hader who fixed the issue.

References
NVD (es)

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

References

Sources

SourceRecordLicence
CVE ListCVE-2021-32668 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-6mh3-j5r5-2379 changed 2026-07-08CC-BY-4.0
NVDCVE-2021-32668 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-TYPO3-2021-32668 changed 2024-03-06Apache-2.0