# CVE-2021-21370: Cross-Site Scripting in Content Preview (CType menu)

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Published: 2021-03-23T01:54:17.000Z
- Modified: 2026-07-08T06:27:52.429Z
- Also known as: GHSA-x7hc-x7fm-f7qh, BIT-TYPO3-2021-21370
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## Description

TYPO3 is an open source PHP based web content management system. In TYPO3 before versions 7.6.51, 8.7.40, 9.5.25, 10.4.14, 11.1.1 it has been discovered that content elements of type _menu_ are vulnerable to cross-site scripting when their referenced items get previewed in the page module. A valid backend user account is needed to exploit this vulnerability. This is fixed in versions 7.6.51, 8.7.40, 9.5.25, 10.4.14, 11.1.1.

(As written by CVE List.)

## Affected

- TYPO3 TYPO3.CMS: >= 7.0.0, <= 7.6.50; >= 8.0.0, <= 8.7.39; >= 9.0.0, <= 9.5.24; >= 10.0.0, <= 10.4.13; >= 11.0.0, <= 11.1.0
- typo3/cms-backend (Packagist): from 7.0.0 before 7.6.51; from 8.0.0 before 8.7.40; from 9.0.0 before 9.5.25; from 10.0.0 before 10.4.14; from 11.0.0 before 11.1.1
- typo3/cms-core (Packagist): from 10.0.0 before 10.4.14; from 11.0.0 before 11.1.1; from 9.0.0 before 9.5.25
- typo3/cms (Packagist): from 10.0.0 before 10.4.14; from 11.0.0 before 11.1.1; from 9.0.0 before 9.5.25
- typo3 typo3: from 7.0.0 before 7.6.51; from 8.0.0 before 8.7.40; from 9.0.0 before 9.5.25; from 10.0.0 before 10.4.14; from 11.0.0 before 11.1.1
- typo3 (Bitnami): from 7.0.0 before 7.6.51; from 8.0.0 before 8.7.40; from 9.0.0 before 9.5.25; from 10.0.0 before 10.4.14; from 11.0.0 before 11.1.1

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://packagist.org/packages/typo3/cms-backend> (release-notes, third-party-advisory, web)
- <https://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-x7hc-x7fm-f7qh> (third-party-advisory, web)
- <https://typo3.org/security/advisory/typo3-core-sa-2021-008> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21370> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-21370.yaml> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-21370.yaml> (web)

## Sources

- CVE List: [CVE-2021-21370](https://www.cve.org/CVERecord?id=CVE-2021-21370), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-x7hc-x7fm-f7qh](https://github.com/advisories/GHSA-x7hc-x7fm-f7qh), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-21370](https://nvd.nist.gov/vuln/detail/CVE-2021-21370), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-TYPO3-2021-21370](https://osv.dev/vulnerability/BIT-TYPO3-2021-21370), Apache-2.0, modified 2024-03-06

---

Page: https://cve.day/CVE-2021-21370 · Whole record: https://cve.day/CVE-2021-21370.json · Rebuilt by cve.day 2026-11-25T22:58:00.380Z
