4.8medium
Contao allows cross-site scripting through SVG uploads
- Severity
- 4.8medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.22% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-vqqr-fgmh-f626
Description
Contao is an Open Source CMS. Users can upload SVG files with malicious code, which is then executed in the back end and/or front end. This vulnerability is fixed in Contao 4.13.54, 5.3.30, or 5.5.6.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| contao contao | >= 4.0.0, < 4.13.54, >= 5.0.0, < 5.3.30, >= 5.4.0, < 5.5.6, from 4.0.0 before 4.13.53, from 5.0.0 before 5.3.30, from 5.4.0 before 5.5.6 | CVE List, NVD |
| contao/core-bundle (Packagist) | from 4.0.0 before 4.13.54, from 5.3.0 before 5.3.30, from 5.4.0 before 5.5.6 | GitHub Advisory Database |
All scores
| GitHub_M | 4.8medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Contao is an Open Source CMS. Users can upload SVG files with malicious code, which is then executed in the back end and/or front end. This vulnerability is fixed in Contao 4.13.54, 5.3.30, or 5.5.6.
GitHub Advisory Database
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.
NVD (es)
Contao es un CMS de código abierto. Los usuarios pueden subir archivos SVG con código malicioso, que se ejecuta en el backend o frontend. Esta vulnerabilidad está corregida en Contao 4.13.54, 5.3.30 o 5.5.6.
References
| https://github.com/contao/contao/security/advisories/GHSA-vqqr-fgmh-f626 | patch, third-party-advisory, web | |
| https://contao.org/en/security-advisories/cross-site-scripting-through-svg-uploads | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-29790 | advisory | |
| https://github.com/contao/contao | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-29790 changed 2025-03-18 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vqqr-fgmh-f626 changed 2025-04-17 | CC-BY-4.0 |
| NVD | CVE-2025-29790 changed 2026-06-17 | Public domain |