Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. contao/contao
  4. ›
  5. CVE-2024-45965

CVE-2024-45965: Duplicate Advisory: Contao allows admin an account to upload SVG file containing malicious JavaScript

October 2, 2024 (updated April 22, 2025)

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.

References

  • contao.org/en/security-advisories/cross-site-scripting-through-svg-uploads
  • github.com/advisories/GHSA-mrw8-5368-phm3
  • github.com/contao/contao
  • grimthereaperteam.medium.com/contao-5-4-1-malicious-file-upload-xss-in-svg-30edb8820ecb
  • nvd.nist.gov/vuln/detail/CVE-2024-45965

Code Behaviors & Features

Detect and mitigate CVE-2024-45965 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 5.4.1

Solution

Unfortunately, there is no solution available yet.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/contao/contao/CVE-2024-45965.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:41 +0000.