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

CVE-2024-51991: October CMS Allows Unprotected SVG Rename in Media Manager

May 5, 2025

This advisory affects authenticated administrators with sites that have the media.clean_vectors configuration enabled. This configuration will sanitize SVG files uploaded using the media manager. This vulnerability allows an authenticated user to bypass this protection by uploading it with a permitted extension (for example, .jpg or .png) and later modifying it to the .svg extension.

This vulnerability assumes a trusted user will attack another trusted user and cannot be actively exploited without access to the administration panel and interaction from the other user.

References

  • github.com/advisories/GHSA-96hh-8hx5-cpw7
  • github.com/octobercms/october
  • github.com/octobercms/october/security/advisories/GHSA-96hh-8hx5-cpw7
  • nvd.nist.gov/vuln/detail/CVE-2024-51991

Code Behaviors & Features

Detect and mitigate CVE-2024-51991 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 before 3.7.5

Fixed versions

  • 3.7.5

Solution

Upgrade to version 3.7.5 or above.

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

packagist/october/october/CVE-2024-51991.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:10 +0000.