CVE-2024-28190
JSON

5.4medium

Contao core bundle vulnerable to cross site scripting in the file manager

Severity
5.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.50% (higher than 44% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-v24p-7p4j-qvvf

Description

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.

Affected

Product or packageVersionsReported by
contao contao>= 4.0.0, < 4.13.40, >= 5.0.0, < 5.3.4, from 4.0.0 before 4.13.40, from 5.0.0 before 5.3.4CVE List, NVD
contao/core-bundle (Packagist)from 4.0.0 before 4.13.40, from 5.0.0-RC1 before 5.3.4GitHub Advisory Database

All scores

GitHub_M5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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.

NVD (es)

Contao es un sistema de gestión de contenidos de código abierto. A partir de la versión 4.0.0 y antes de la versión 4.13.40 y 5.3.4, los usuarios pueden inyectar código malicioso en los nombres de archivos al cargar archivos (back-end y front-end), que luego se ejecuta en información sobre herramientas y ventanas emergentes en el back-end. Las versiones 4.13.40 y 5.3.4 de Contao tienen un parche para este problema. Como workaround, elimine los campos de carga de los formularios frontales y deshabilite las cargas para usuarios finales que no sean de confianza.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-28190 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-v24p-7p4j-qvvf changed 2026-09-10CC-BY-4.0
NVDCVE-2024-28190 changed 2026-06-17Public domain