TYPO3 CMS vulnerable to Cross-Site Scripting in <f:asset.css> view helper
Published 16 Sept 2022 · Updated 6 Dec 2023
Affected packages
- Affected
- >=10.3.0 <10.4.32
- Fixed in
- 10.4.32
composer require typo3/cms-core:^10.4.32- Affected
- >=11.0.0 <11.5.16
- Fixed in
- 11.5.16
composer require typo3/cms-core:^11.5.16- Affected
- >=10.3.0 <10.4.32
- Fixed in
- 10.4.32
composer require typo3/cms:^10.4.32- Affected
- >=11.0.0 <11.5.16
- Fixed in
- 11.5.16
composer require typo3/cms:^11.5.16Details
> ### Meta
> * CVSS: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C (4.1)
Problem
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.
Solution
Update to TYPO3 version 10.4.32 or 11.5.16 that fix the problem described above.
Credits
Thanks to TYPO3 contributor member Frank Nägler who reported this issue and to TYPO3 core & security team member Oliver Hader who fixed the issue.
References
Is GHSA-fv2m-9249-qx85 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected typo3/cms-core, and gives you the command that fixes it.
References
- Linkgithub.com/TYPO3/typo3/security/advisories/GHSA-fv2m-9249-qx85
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-36108
- Linkgithub.com/TYPO3/typo3/commit/6863f73818c36b0b88c677ba533765c8074907b4
- Linkgithub.com/TYPO3/typo3/commit/c62e16fac031c270d9759c7261e504c7e25405df
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2022-36108.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2022-36108.yaml
- Packagegithub.com/TYPO3/typo3
- Linktypo3.org/security/advisory/typo3-core-sa-2022-010
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.