CVE-2022-36108 Cross-Site Scripting in typo3/cms-core
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.
| Package | Affected | Fixed in |
|---|---|---|
typo3/cms Packagist | From 10.3.0 | 10.4.32 |
typo3/cms Packagist | From 10.3.0 | 10.4.32 |
typo3/cms Packagist | From 11.0.0 | 11.5.16 |
typo3/cms Packagist | From 11.0.0 | 11.5.16 |
typo3 Bitnami | From 10.0.0 | 10.4.31, 11.5.15 |
typo3/cms-core Packagist | From 10.3.0 | 10.4.32 |
3 more packages
typo3/cms-core Packagist | From 10.3.0 | 10.4.32 |
typo3/cms-core Packagist | From 11.0.0 | 11.5.16 |
typo3/cms-core Packagist | From 11.0.0 | 11.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.
Other vulnerabilities in Typo3 Typo3
- CVE-2009-0258 Indexed Search Engine for TYPO3 Command Execution via Metacharacter Injection
- CVE-2011-3583 Typo3 SQL injection due to faulty prepared statements
- CVE-2011-4628 Typo3 Authentication Bypass
- CVE-2023-24814 Persisted Cross-Site Scripting in Frontend Rendering in typo3
- CVE-2021-41113 Cross-Site-Request-Forgery in Backend URI Handling in Typo3
Sources
Also known as BIT-typo3-2022-36108, GHSA-fv2m-9249-qx85.