{"id":"CVE-2025-29790","aliases":["CVE-2025-29790","GHSA-vqqr-fgmh-f626"],"related":[],"kind":"vulnerability","state":"published","title":"Contao allows cross-site scripting through SVG uploads","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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).","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-03-18T18:36:34.279Z","modified":"2026-06-17T09:05:40.580Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 4.0.0, < 4.13.54","status":"affected"},{"version":">= 5.0.0, < 5.3.30","status":"affected"},{"version":">= 5.4.0, < 5.5.6","status":"affected"}],"vendor":"contao","product":"contao","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.13.54"}],"ecosystem":"Packagist","package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.3.0","status":"affected","fixed":"5.3.30"}],"ecosystem":"Packagist","package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.4.0","status":"affected","fixed":"5.5.6"}],"ecosystem":"Packagist","package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"4.13.53"},{"status":"affected","introduced":"5.0.0","fixed":"5.3.30"},{"status":"affected","introduced":"5.4.0","fixed":"5.5.6"}],"vendor":"contao","product":"contao","cpe":"cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/contao/contao/security/advisories/GHSA-vqqr-fgmh-f626","tags":["patch","third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://contao.org/en/security-advisories/cross-site-scripting-through-svg-uploads","tags":["vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-29790","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/contao/contao","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-03-18T18:48:29.028Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-29790","url":"https://www.cve.org/CVERecord?id=CVE-2025-29790","licence":"CVE Terms of Use","modified":"2025-03-18T18:48:39.399Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vqqr-fgmh-f626","url":"https://github.com/advisories/GHSA-vqqr-fgmh-f626","licence":"CC-BY-4.0","modified":"2025-04-17T12:50:19.196Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-29790","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-29790","licence":"Public domain","modified":"2026-06-17T09:05:40.580Z"}],"updatedAt":"2026-11-25T22:58:55.346Z","epss":{"score":0.00225,"percentile":0.1401,"date":"2026-12-01T12:00:22.000Z"}}