{"id":"CVE-2024-45965","aliases":["CVE-2024-45965","GHSA-mrw8-5368-phm3"],"related":[],"kind":"vulnerability","state":"published","title":"Contao before 5.5.6 allows XSS via an SVG document.","summary":"Contao before 5.5.6 allows XSS via an SVG document. This affects (in contao/core-bundle in Composer) 4.x before 4.13.54, 5.0.x through 5.3.x before 5.3.30, and 5.4.x and 5.5..x before 5.5.6.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Contao before 5.5.6 allows XSS via an SVG document. This affects (in contao/core-bundle in Composer) 4.x before 4.13.54, 5.0.x through 5.3.x before 5.3.30, and 5.4.x and 5.5..x before 5.5.6.","source":"cvelist"},{"lang":"en","text":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-vqqr-fgmh-f626. This link is maintained to preserve external references.\n\n## Original Description\n\nContao 5.4.1 allows an authenticated admin account to upload a SVG file containing malicious javascript code into the target system. If the file is accessed through the website, it could lead to a Cross-Site Scripting (XSS) attack or execute arbitrary code via a crafted javascript to the target.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Contao 5.4.1 permite que una cuenta de administrador autenticada cargue un archivo SVG que contenga código JavaScript malicioso en el sistema de destino. Si se accede al archivo a través del sitio web, podría provocar un ataque de Cross-Site Scripting (XSS) o ejecutar código arbitrario a través de un código JavaScript manipulado específicamente para el objetivo.","source":"nvd"}],"published":"2024-10-02T00:00:00.000Z","modified":"2026-09-10T03:50:19.908Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","rating":"LOW"},{"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","CWE-434"],"affected":[{"ranges":[{"type":"semver","introduced":"4.0.0","fixed":"4.13.54","status":"affected"},{"type":"semver","introduced":"5.0.0","fixed":"5.3.30","status":"affected"},{"type":"semver","introduced":"5.4.0","fixed":"5.5.6","status":"affected"}],"vendor":"Contao","product":"Contao","source":"cvelist"},{"ranges":[{"version":"5.4.1","status":"affected"}],"vendor":"contao","product":"contao","cpe":"cpe:2.3:a:contao:contao:5.4.1:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"5.4.1"}],"ecosystem":"Packagist","package":"contao/contao","purl":"pkg:composer/contao/contao","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.0","fixed":"4.13.54"},{"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://grimthereaperteam.medium.com/contao-5-4-1-malicious-file-upload-xss-in-svg-30edb8820ecb","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://contao.org/en/security-advisories/cross-site-scripting-through-svg-uploads","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45965","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/contao/contao","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-10-02T20:29:10.374Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45965","url":"https://www.cve.org/CVERecord?id=CVE-2024-45965","licence":"CVE Terms of Use","modified":"2025-08-27T21:27:09.128Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mrw8-5368-phm3","url":"https://github.com/advisories/GHSA-mrw8-5368-phm3","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:19.908Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45965","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45965","licence":"Public domain","modified":"2026-06-17T07:55:04.263Z"}],"updatedAt":"2026-11-25T22:58:45.990Z","epss":{"score":0.00338,"percentile":0.29136,"date":"2026-12-01T12:00:22.000Z"}}