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 (updated October 31, 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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.7.5

Fixed versions

  • 3.7.5

Solution

Upgrade to version 3.7.5 or above.

Impact 4.9 MEDIUM

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

Learn more about CVSS

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 Sun, 08 Nov 2026 00:16:12 +0000.