CVE-2024-34357:
TYPO3 vulnerable to Cross-Site Scripting in the ShowImageController
5.4
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
5/14/2024
Updated
5/14/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
typo3/cms-core | composer | >= 9.0.0, <= 9.5.47 | 9.5.48 |
typo3/cms-core | composer | >= 10.0.0, <= 10.4.44 | 10.4.45 |
typo3/cms-core | composer | >= 11.0.0, <= 11.5.36 | 11.5.37 |
typo3/cms-core | composer | >= 12.0.0, <= 12.4.14 | 12.4.15 |
typo3/cms-core | composer | >= 13.0.0, <= 13.1.0 | 13.1.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from three unencoded outputs in ShowImageController:
- $processedImage->getProperty('width') used in ###width### placeholder
- $processedImage->getProperty('height') used in ###height### placeholder
- $this->file->getProperty('title') used in ###TITLE### marker
The commit 3764749 added htmlspecialchars() to all these locations, confirming they were unsafe raw outputs. The XSS vulnerability occurred because an attacker with backend access could store malicious payloads in file metadata properties, which would render unescaped in the frontend via the tx_cms_showpic endpoint.