CVE-2021-32667 Cross-Site Scripting in Page Preview

Medium 6.4 Published Updated

Persistent cross-site scripting in TYPO3 page preview allows attackers with backend access to execute malicious scripts, requiring a patch.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-32667?

CVE-2021-32667 is a medium-severity cross-site scripting vulnerability in Typo3 Typo3, published on 20 Jul 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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 _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.

Weakness: CWE-79

Which versions are affected by CVE-2021-32667?

13 open source packages ship an affected version, including typo3/cms, typo3 and typo3/cms-core. It affects 1 product.

PackageAffectedFixed in
typo3/cms PackagistFrom 10.0.010.4.18
typo3/cms PackagistFrom 10.0.010.4.18
typo3/cms PackagistFrom 11.0.011.3.1
typo3/cms PackagistFrom 11.0.011.3.1
typo3/cms PackagistFrom 9.0.09.5.28
typo3/cms PackagistFrom 9.0.09.5.28
7 more packages
typo3 BitnamiFrom 9.0.09.5.287, 10.4.17, 11.3.0
typo3/cms-core PackagistFrom 10.0.010.4.18
typo3/cms-core PackagistFrom 10.0.010.4.18
typo3/cms-core PackagistFrom 11.0.011.3.1
typo3/cms-core PackagistFrom 11.0.011.3.1
typo3/cms-core PackagistFrom 9.0.09.5.28
typo3/cms-core PackagistFrom 9.0.09.5.28

Products include Typo3 Typo3.

How do I fix CVE-2021-32667?

Upgrade typo3/cms to a fixed version for your release line: 10.4.18, 11.3.1 or 9.5.28.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-32667 being exploited?

There is no known exploitation of CVE-2021-32667 in the wild and no public exploit code.

All Typo3 Typo3 vulnerabilities

Sources

Also known as BIT-typo3-2021-32667, GHSA-8mq9-fqv8-59wf.

Is CVE-2021-32667 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free