CVE-2024-45965 Cross-site scripting in Contao

Medium 6.4 Published Updated

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.

Sources

Is CVE-2024-45965 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free