Loading advisory.
Loading advisory.
Contao Vulnerable to Cross-Site Scripting (XSS) through SVG uploads
Users can upload SVG files with malicious code, which is then executed in the back end and/or front end.
Published 2025-03-18 18:36 UTC · Modified 2025-04-17 12:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| contao/core-bundle | Packagist | >= 4.0.0, < 4.13.54 >= 5.3.0, < 5.3.30 >= 5.4.0, < 5.5.6 versions 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.1.0, 4.1.0-RC1, 4.1.0-beta1, 4.1.1, 4.1.2, 4.1.3, 4.10.0, 4.10.0-RC1, 4.10.0-RC2, 4.10.0-RC3, 4.10.0-RC4, 4.10.1, 4.10.2, 4.10.3, 4.10.4 and 326 more | 4.13.54, 5.3.30, 5.5.6 | composer require 'contao/core-bundle:>=4.13.54'composer require 'contao/core-bundle:>=5.3.30'composer require 'contao/core-bundle:>=5.5.6' |
Users can upload SVG files with malicious code, which is then executed in the back end and/or front end.
Update to Contao 4.13.54, 5.3.30 or 5.5.6.
Remove svg,svgz from the allowed upload file types in the system settings and from contao.editable_files in the config.yaml.
https://contao.org/en/security-advisories/cross-site-scripting-through-svg-uploads
If you have any questions or comments about this advisory, open an issue in contao/contao.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.002 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.002 | v2026.06.15 |