CVE-2021-32667: Cross-Site Scripting in Page Preview
### Meta CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N/E:F/RL:O/RC (5.0)
Problem Failing to properly encode Page TSconfig settings, corresponding page preview module (Web>View) is vulnerable to persistent cross-site scripting. A valid backend user account is needed to exploit this vulnerability.
Solution Update to TYPO3 versions 9.5.28, 10.4.18, 11.3.1 that fix the problem described.
Credits Thanks to TYPO3 core merger Oliver Bartsch who reported and fixed the issue.
References TYPO3-CORE-SA-2021-009
Other sources
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 Page TSconfig settings are not properly encoded, corresponding page preview module (Web>View) is vulnerable to persistent cross-site scripting. A valid backend user account is needed to exploit this vulnerability. TYPO3 versions 9.5.29, 10.4.18, 11.3.1 contain a patch for this issue.
TYPO3-CORE-SA-2021-009: Cross-Site Scripting in Page Preview
Affected Software
Event History
Frequently Asked Questions
What is the vulnerability ID?
The vulnerability ID is CVE-2021-32667.
What is the title of the vulnerability?
The title of the vulnerability is TYPO3-CORE-SA-2021-009: Cross-Site Scripting in Page Preview.
What is TYPO3?
TYPO3 is an open source PHP based web content management system.
Which versions of TYPO3 are affected by this vulnerability?
Versions 9.0.0 through 9.5.28, 10.0.0 through 10.4.17, and 11.0.0 through 11.3.0 are affected by this vulnerability.
What is the severity of CVE-2021-32667?
The severity of CVE-2021-32667 is medium with a CVSS score of 5.4.
How does this vulnerability occur?
This vulnerability occurs when _Page TSconfig_ settings are not properly encoded, making the page preview module vulnerable to cross-site scripting attacks.
How do I fix the vulnerability in TYPO3?
To fix the vulnerability in TYPO3, upgrade to versions 9.5.29, 10.4.18, or 11.3.1 or later.
Where can I find more information about TYPO3-CORE-SA-2021-009?
You can find more information about TYPO3-CORE-SA-2021-009 at the TYPO3 security advisory page: https://typo3.org/security/advisory/typo3-core-sa-2021-009.
Where can I find the security advisories for TYPO3?
You can find the security advisories for TYPO3 at the TYPO3 security advisories page: https://typo3.org/security/advisories.
What is the Common Weakness Enumeration (CWE) for this vulnerability?
The Common Weakness Enumeration (CWE) for this vulnerability is CWE-79.