medium6.4
CVE-2024-45965
Duplicate Advisory: Contao allows admin an account to upload SVG file containing malicious JavaScript
Impact
## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-vqqr-fgmh-f626. This link is maintained to preserve external references. ## Original Description Contao 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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | contao/contao | <= 5.4.1 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Contao | Contao | from 4.0 before 4.13.54 from 5.0.0 before 5.3.30 from 5.4.0 before 5.5.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://contao.org/en/security-advisories/cross-site-scripting-through-svg-uploads
- https://grimthereaperteam.medium.com/contao-5-4-1-malicious-file-upload-xss-in-svg-30edb8820ecb
- https://github.com/advisories/GHSA-mrw8-5368-phm3
- https://nvd.nist.gov/vuln/detail/CVE-2024-45965