First published: Mon May 05 2025(Updated: )
### 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: - [Cyber-Wo0dy](https://github.com/Cyber-Wo0dy) ### For more information If you have any questions or comments about this advisory: * Email us at [hello@octobercms.com](mailto:hello@octobercms.com)
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
composer/october/october | <3.7.5 | 3.7.5 |
composer/october/system | <3.7.5 | 3.7.5 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2024-51991 is considered moderate due to the risk posed to authenticated administrators with the media.clean_vectors configuration enabled.
To fix CVE-2024-51991, update your October CMS to version 3.7.5 or later.
CVE-2024-51991 affects authenticated administrators using October CMS with the media.clean_vectors configuration enabled.
CVE-2024-51991 can be exploited by authenticated users to upload malicious SVG files that bypass sanitization.
The media.clean_vectors configuration is not safe to use in versions vulnerable to CVE-2024-51991 without the necessary updates.