CVE-2022-36108 Cross-Site Scripting in typo3/cms-core

Medium 6.5 Published Updated

An attacker can execute arbitrary scripts in the victim's browser via the f:asset.css view helper in TYPO3 CMS.

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-36108?

CVE-2022-36108 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 `f:asset.css` view helper is vulnerable to cross-site scripting when user input is passed as variables to the CSS. Update to TYPO3 version 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-36108?

9 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.3.010.4.32
typo3/cms PackagistFrom 10.3.010.4.32
typo3/cms PackagistFrom 11.0.011.5.16
typo3/cms PackagistFrom 11.0.011.5.16
typo3 BitnamiFrom 10.0.010.4.31, 11.5.15
typo3/cms-core PackagistFrom 10.3.010.4.32
3 more packages
typo3/cms-core PackagistFrom 10.3.010.4.32
typo3/cms-core PackagistFrom 11.0.011.5.16
typo3/cms-core PackagistFrom 11.0.011.5.16

Products include Typo3 Typo3.

How do I fix CVE-2022-36108?

Upgrade typo3/cms to a fixed version for your release line: 10.4.32 or 11.5.16.

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-36108 being exploited?

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

All Typo3 Typo3 vulnerabilities

Sources

Also known as BIT-typo3-2022-36108, GHSA-fv2m-9249-qx85.

Is CVE-2022-36108 in your software?

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

Check your SBOMs for free