CVE-2022-36107 Stored Cross-Site Scripting via FileDumpController

Medium 6.5 Published Updated

Stored XSS in TYPO3 FileDumpController allows attackers with backend access to execute scripts via malicious files, risking user sessions.

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-2022-36107?

CVE-2022-36107 is a medium-severity cross-site scripting vulnerability in Typo3 Typo3, published on 13 Sep 2022. 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 released under the GNU GPL. It has been discovered that the `FileDumpController` (backend and frontend context) is vulnerable to cross-site scripting when malicious files are displayed using this component. A valid backend user account is needed to exploit this vulnerability. Update to TYPO3 version 7.6.58 ELTS, 8.7.48 ELTS, 9.5.37 ELTS, 10.4.32 or 11.5.16 that fix the problem. There are no known workarounds for this issue.

Weakness: CWE-79

Which versions are affected by CVE-2022-36107?

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

PackageAffectedFixed in
typo3/cms-core PackagistFrom 10.0.010.4.32
typo3/cms-core PackagistFrom 10.0.010.4.32
typo3/cms-core PackagistFrom 11.0.011.5.16
typo3/cms-core PackagistFrom 11.0.011.5.16
typo3/cms-core PackagistFrom 7.0.07.6.58
typo3/cms-core PackagistFrom 7.0.07.6.58
9 more packages
typo3/cms-core PackagistFrom 8.0.08.7.48
typo3/cms-core PackagistFrom 8.0.08.7.48
typo3/cms-core PackagistFrom 9.0.09.5.37
typo3/cms-core PackagistFrom 9.0.09.5.37
typo3 BitnamiFrom 7.0.07.6.57, 8.7.47, 9.5.36, 10.4.31, 11.5.15
typo3/cms PackagistFrom 10.0.010.4.32
typo3/cms PackagistFrom 10.0.010.4.32
typo3/cms PackagistFrom 11.0.011.5.16
typo3/cms PackagistFrom 11.0.011.5.16

Products include Typo3 Typo3.

How do I fix CVE-2022-36107?

Upgrade typo3/cms-core to a fixed version for your release line: 10.4.32, 11.5.16, 7.6.58 or 8.7.48.

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-2022-36107 being exploited?

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

All Typo3 Typo3 vulnerabilities

Sources

Also known as BIT-typo3-2022-36107, GHSA-9c6w-55cp-5w25.

Is CVE-2022-36107 in your software?

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

Check your SBOMs for free