XSS in Contao
CVE-2024-28190
Contao is an open source content management system. Starting in version 4.0.0 and prior to version 4.13.40 and 5.3.4, users can inject malicious code in filenames when uploading files (back end and front end), which is then executed in tooltips and popups in the back end. Contao versions 4.13.40 and 5.3.4 have a patch for this issue. As a workaround, remove upload fields from frontend forms and disable uploads for untrusted back end users.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.005, 43.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Contao — versions >= 4.0.0, < 4.13.40, >= 5.0.0, < 5.3.4
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/contao/contao/security/advisories/GHSA-v24p-7p4j-qvvf (Vendor Advisory)
- https://github.com/contao/contao/commit/878d28dbe0f408740555d6fc8b634bd3f8febfce (Patch)
- https://github.com/contao/contao/commit/b794e14fff070101bf6a885da9b1a83395093b4d (Patch)
- https://contao.org/en/security-advisories/cross-site-scripting-in-the-file-manager (Vendor Advisory)