# CVE-2021-21340: Cross-Site Scripting in Content Preview

- 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:50:34.000Z
- Modified: 2026-07-08T06:28:00.165Z
- Also known as: GHSA-fjh3-g8gq-9q92, BIT-TYPO3-2021-21340
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## Description

TYPO3 is an open source PHP based web content management system. In TYPO3 before versions 10.4.14, 11.1.1 it has been discovered that database fields used as _descriptionColumn_ are vulnerable to cross-site scripting when their content gets previewed. A valid backend user account is needed to exploit this vulnerability. This is fixed in versions 10.4.14, 11.1.1 .

(As written by CVE List.)

## Affected

- TYPO3 TYPO3.CMS: >= 10.0.0, <= 10.4.13; >= 11.0.0, <= 11.1.0
- typo3/cms-backend (Packagist): 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
- typo3/cms (Packagist): from 10.0.0 before 10.4.14; from 11.0.0 before 11.1.1
- typo3 typo3: from 10.0.0 before 10.4.14; from 11.0.0 before 11.1.1
- typo3 (Bitnami): 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://github.com/TYPO3/TYPO3.CMS/security/advisories/GHSA-fjh3-g8gq-9q92> (third-party-advisory, web)
- <https://packagist.org/packages/typo3/cms-backend> (release-notes, third-party-advisory, web)
- <https://typo3.org/security/advisory/typo3-core-sa-2021-007> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21340> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2021-21340.yaml> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2021-21340.yaml> (web)

## Sources

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

---

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