CVE-2024-45965 Cross-site scripting in Contao
An attacker can execute arbitrary scripts in a victim's browser by uploading a malicious SVG document to the Contao CMS.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-45965?
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.
Official 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.
Weakness: CWE-434
Which versions are affected by CVE-2024-45965?
It affects 1 product.
Products include Contao Contao.
How do I fix CVE-2024-45965?
No fix has been published for CVE-2024-45965 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-45965 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45965 exists.
Other vulnerabilities in Contao
- CVE-2022-26265 Remote Code Execution in Contao Managed Edition
- CVE-2019-11512 Contao SQL injection in the file manager
- CVE-2012-4383 Contao core SQL Injection Vulnerability
- CVE-2019-19745 Unrestricted file uploads in Contao
- CVE-2024-28235 Contao possible cookie sharing with external domains while checking protected pages for broken links