{"id":"CVE-2024-28190","published":"2024-04-09T13:48:46Z","modified":"2024-08-02T00:48:49Z","title":"Contao core bundle vulnerable to cross site scripting in the file manager","vendor":"contao","product":"contao","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00502,"percentile":0.43867,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/contao/contao/security/advisories/GHSA-v24p-7p4j-qvvf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/contao/contao/commit/878d28dbe0f408740555d6fc8b634bd3f8febfce","tags":["x_refsource_MISC"]},{"url":"https://github.com/contao/contao/commit/b794e14fff070101bf6a885da9b1a83395093b4d","tags":["x_refsource_MISC"]},{"url":"https://contao.org/en/security-advisories/cross-site-scripting-in-the-file-manager","tags":["x_refsource_MISC"]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":8.77},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"contao","affectedVersions":[{"vendor":"contao","product":"contao","versions":[">= 4.0.0, < 4.13.40",">= 5.0.0, < 5.3.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-04-09T17:12:31.297580Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"contao/core-bundle","vulnerableRanges":[">=4.0.0, <4.13.40",">=5.0.0-RC1, <5.3.4"],"patched":["4.13.40","5.3.4"],"from":["GHSA-v24p-7p4j-qvvf"],"provenance":"source"}],"summary":{"text":"The Contao core bundle, the file manager component of the Contao open source content management system, fails to neutralise filenames supplied during file uploads, allowing cross-site scripting. An attacker who can upload a file with a crafted filename through the back end or front end, and who has at least low-privilege authentication and a user (such as a back end administrator) who interacts with the affected tooltip or popup, can have injected script executed in the back end.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:29Z"},"euvd":{"id":"EUVD-2024-1304","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-contao-cve-2023-36806","children":[{"from":"CVE-2024-28190","to":"CVE-2024-45398","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core-bundle/contao/drivers/DC_Folder.php","core-bundle/src/Resources/contao/drivers/DC_Folder.php"],"commits":["https://github.com/contao/contao/commit/878d28dbe0f408740555d6fc8b634bd3f8febfce","https://github.com/contao/contao/commit/b794e14fff070101bf6a885da9b1a83395093b4d","https://github.com/contao/contao/commit/9445d509f12a7f1b68a4794dcc5e3e459b363ebb","https://github.com/contao/contao/commit/a7e39f96ac8fdc281f7caaa96e01deb0e24ac7d3"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-30262","published":"2024-04-09","fixed":"4.13.40","kev":false},{"cve":"CVE-2024-45604","published":"2024-09-17","fixed":"4.13.49","kev":false},{"cve":"CVE-2023-36806","published":"2023-07-25","fixed":"5.1.10","kev":false,"link":{"from":"CVE-2023-36806","to":"CVE-2024-28190","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:contao/core-bundle","fromFixed":"5.1.10","toFixed":"5.3.4","daysApart":259},{"kind":"similar","provenance":"machine","score":0.51,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2024-28190","published":"2024-04-09","fixed":"5.3.4","kev":false},{"cve":"CVE-2024-28191","published":"2024-04-09","fixed":"5.3.4","kev":false},{"cve":"CVE-2024-28235","published":"2024-04-09","fixed":"5.3.4","kev":false},{"cve":"CVE-2024-45398","published":"2024-09-17","fixed":"5.4.3","kev":false}],"package":"Packagist:contao/core-bundle"}}