{ "schema_version": "1.4.0", "id": "GHSA-vqqr-fgmh-f626", "modified": "2025-04-17T12:44:08Z", "published": "2025-03-18T21:07:17Z", "aliases": [ "CVE-2025-29790" ], "summary": "Contao Vulnerable to Cross-Site Scripting (XSS) through SVG uploads", "details": "### Impact\n\nUsers can upload SVG files with malicious code, which is then executed in the back end and/or front end.\n\n### Patches\n\nUpdate to Contao 4.13.54, 5.3.30 or 5.5.6.\n\n### Workarounds\n\nRemove `svg,svgz` from the allowed upload file types in the system settings and from `contao.editable_files` in the `config.yaml`.\n\n### References\n\nhttps://contao.org/en/security-advisories/cross-site-scripting-through-svg-uploads\n\n### For more information\n\nIf you have any questions or comments about this advisory, open an issue in [contao/contao](https://github.com/contao/contao/issues/new/choose).", "severity": [ { "type": "CVSS_V4", "score": "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" } ], "affected": [ { "package": { "ecosystem": "Packagist", "name": "contao/core-bundle" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "4.0.0" }, { "fixed": "4.13.54" } ] } ] }, { "package": { "ecosystem": "Packagist", "name": "contao/core-bundle" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "5.3.0" }, { "fixed": "5.3.30" } ] } ] }, { "package": { "ecosystem": "Packagist", "name": "contao/core-bundle" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "5.4.0" }, { "fixed": "5.5.6" } ] } ] } ], "references": [ { "type": "WEB", "url": "https://github.com/contao/contao/security/advisories/GHSA-vqqr-fgmh-f626" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-29790" }, { "type": "WEB", "url": "https://contao.org/en/security-advisories/cross-site-scripting-through-svg-uploads" }, { "type": "PACKAGE", "url": "https://github.com/contao/contao" } ], "database_specific": { "cwe_ids": [ "CWE-79" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2025-03-18T21:07:17Z", "nvd_published_at": "2025-03-18T19:15:50Z" } }