LowGHSA-96hh-8hx5-cpw7CVE-2024-51991

October CMS Allows Unprotected SVG Rename in Media Manager

Published 5 May 2025 · Updated 5 May 2025

Affected packages

Affected
<3.7.5
Fixed in
3.7.5
Update to the fixed version for your release line, for example:composer require october/system:^3.7.5
Affected
<3.7.5
Fixed in
3.7.5
Update to the fixed version for your release line, for example:composer require october/october:^3.7.5

Details

Impact

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.

Patches

This issue has been patched in v3.7.5.

References

Credits to:

For more information

If you have any questions or comments about this advisory:

  • Email us at [hello@octobercms.com](mailto:hello@octobercms.com)

Is GHSA-96hh-8hx5-cpw7 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected october/system, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.