TYPO3 vulnerable to Cross-Site Scripting in the ShowImageController
Published 14 May 2024 · Updated 10 Sept 2026
Affected packages
- Affected
- >=9.0.0 <9.5.48
- Fixed in
- 9.5.48
composer require typo3/cms-core:^9.5.48- Affected
- >=10.0.0 <10.4.45
- Fixed in
- 10.4.45
composer require typo3/cms-core:^10.4.45- Affected
- >=11.0.0 <11.5.37
- Fixed in
- 11.5.37
composer require typo3/cms-core:^11.5.37- Affected
- >=12.0.0 <12.4.15
- Fixed in
- 12.4.15
composer require typo3/cms-core:^12.4.15- Affected
- >=13.0.0 <13.1.1
- Fixed in
- 13.1.1
composer require typo3/cms-core:^13.1.1Details
Problem
Failing to properly encode user-controlled values in file entities, the ShowImageController (_eID tx_cms_showpic_) is vulnerable to cross-site scripting. Exploiting this vulnerability requires a valid backend user account with access to file entities.
Solution
Update to TYPO3 versions 9.5.48 ELTS, 10.4.45 ELTS, 11.5.37 LTS, 12.4.15 LTS, 13.1.1 that fix the problem described.
Credits
Thanks to TYPO3 security team member Torben Hansen who reported this issue and to TYPO3 core & security team member Oliver Hader who fixed the issue.
References
Is GHSA-hw6c-6gwq-3m3m 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-hw6c-6gwq-3m3m
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-34357
- Linkgithub.com/TYPO3/typo3/commit/376474904f6b9a54dc1b785a2e45277cbd13b0d7
- Linkgithub.com/TYPO3/typo3/commit/b31d05d1da3eeaeead2d19eb43b1c3f9c88e15ee
- Linkgithub.com/TYPO3/typo3/commit/d774642381354d3bf5095a5a26e18acd2767f0b1
- Packagegithub.com/TYPO3/typo3
- Linktypo3.org/security/advisory/typo3-core-sa-2024-009
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.