CVE-2025-29790
Contao Vulnerable to Cross-Site Scripting (XSS) through SVG uploads
Auswirkung
### Impact Users can upload SVG files with malicious code, which is then executed in the back end and/or front end. ### Patches Update to Contao 4.13.54, 5.3.30 or 5.5.6. ### Workarounds Remove `svg,svgz` from the allowed upload file types in the system settings and from `contao.editable_files` in the `config.yaml`. ### References https://contao.org/en/security-advisories/cross-site-scripting-through-svg-uploads ### For more information If you have any questions or comments about this advisory, open an issue in [contao/contao](https://github.com/contao/contao/issues/new/choose).
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, allerdings muss ein Nutzer aktiv etwas tun, etwa eine Datei oder einen Link öffnen.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | contao/core-bundle | >= 4.0.0, < 4.13.54 | 4.13.54 |
Betroffene Produkte · Contao
| Produkt | Betroffene Versionen |
|---|---|
| Contao | ab 4.0.0 vor 4.13.53 ab 5.0.0 vor 5.3.30 ab 5.4.0 vor 5.5.6 |