{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45965 exists.","fix":"No fix has been published for CVE-2024-45965 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-45965 is a medium-severity cross-site scripting vulnerability in Contao, published on 2 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-45965 and fix it if it is affected.\n\nWhat it is: CVE-2024-45965 is a medium-severity cross-site scripting vulnerability in Contao, published on 2 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45965 exists.\n\nAffected product: Contao. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-45965/ (Markdown: https://insights.sbomify.com/CVE-2024-45965/index.md)","id":"CVE-2024-45965","markdown":"https://insights.sbomify.com/CVE-2024-45965/index.md","name":"CVE-2024-45965","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Contao CMS","requires_auth":"low_privilege","summary":"An attacker can execute arbitrary scripts in a victim's browser by uploading a malicious SVG document to the Contao CMS.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"contao","vendor":"contao"}],"cvss":{"score":6.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Cross-site scripting in Contao","id":"CVE-2024-45965","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Pagekit Cross-site Scripting vulnerability","id":"CVE-2024-45967"},"packages":[],"prev":{"headline":"Zenario Cross Site Scripting in the Image library","id":"CVE-2024-45964"},"products":["Contao"],"published":"2024-10-02","related":[{"cvss_score":9.8,"headline":"Remote Code Execution in Contao Managed Edition","id":"CVE-2022-26265","kev_date_added":null,"published":"2022-03-18"},{"cvss_score":9.8,"headline":"Contao SQL injection in the file manager","id":"CVE-2019-11512","kev_date_added":null,"published":"2019-07-09"},{"cvss_score":8.8,"headline":"Contao core SQL Injection Vulnerability","id":"CVE-2012-4383","kev_date_added":null,"published":"2020-01-29"},{"cvss_score":8.8,"headline":"Unrestricted file uploads in Contao","id":"CVE-2019-19745","kev_date_added":null,"published":"2019-12-17"},{"cvss_score":8.4,"headline":"Contao possible cookie sharing with external domains while checking protected pages for broken links","id":"CVE-2024-28235","kev_date_added":null,"published":"2024-04-09"},{"cvss_score":8.3,"headline":"Remote command execution through file upload in contao/core-bundle","id":"CVE-2024-45398","kev_date_added":null,"published":"2024-09-17"},{"cvss_score":8,"headline":"Privilege escalation via form generator","id":"CVE-2021-37627","kev_date_added":null,"published":"2021-08-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-08-27","vendors":["Contao"]},"summary":"An attacker can execute arbitrary scripts in a victim's browser by uploading a malicious SVG document to the Contao CMS.","url":"https://insights.sbomify.com/CVE-2024-45965/"}