Contao: Cross site scripting in the file manager
Impact
Users can insert malicious code into file names when uploading files, which is then executed in tooltips and popups in the backend.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 4.0.0 before 4.13.40Ecosystem versions | 4.13.40 |
| From 5.0.0-RC1 before 5.3.4Ecosystem versions | 5.3.4 |
Version evidence: OSV · GHSA-v24p-7p4j-qvvf
View original version evidence (332 explicit versions)
Original source description
Impact
Users can insert malicious code into file names when uploading files, which is then executed in tooltips and popups in the backend.
Patches
Update to Contao 4.13.40 or Contao 5.3.4.
Workarounds
Disable uploads for untrusted users.
References
https://contao.org/en/security-advisories/cross-site-scripting-in-the-file-manager
For more information
If you have any questions or comments about this advisory, open an issue in contao/contao.
Credits
Thanks to Alexander Wuttke for reporting this vulnerability.
References
- Security advisory github.com/contao/contao/security/advisories/GHSA-v24p-7p4j-qvvf
- Security advisory nvd.nist.gov/vuln/detail/CVE-2024-28190
- Patch github.com/contao/contao/commit/878d28dbe0f408740555d6fc8b634bd3f8febfce
- Patch github.com/contao/contao/commit/b794e14fff070101bf6a885da9b1a83395093b4d
- Security advisory contao.org/en/security-advisories/cross-site-scripting-in-the-file-manager
- Source reference github.com/contao/contao