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

Published May 5, 2025
·
Updated

Impact

This advisory affects authenticated administrators with sites that have the media.cleanvectors 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

For more information If you have any questions or comments about this advisory: Email us at hello@octobercms.com

Other sources

October is a Content Management System (CMS) and web platform. A vulnerability in versions prior to 3.7.5 affects authenticated administrators with sites that have the media.cleanvectors 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. This issue has been patched in v3.7.5.

MITRE

Affected Software

3 affected componentsFixes available
composer/october/october<3.7.5
3.7.5
composer/october/system<3.7.5
3.7.5
Octobercms October<3.7.5

Event History

May 5, 2025
Advisory Published
via GitHub·02:55 PM
CVE Published
via MITRE·05:04 PM
Data Sourced
via MITRE·05:04 PM
DescriptionWeakness
Data Sourced
via NVD·05:18 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:18 PM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-51991?

The severity of CVE-2024-51991 is considered moderate due to the risk posed to authenticated administrators with the media.clean_vectors configuration enabled.

2

How do I fix CVE-2024-51991?

To fix CVE-2024-51991, update your October CMS to version 3.7.5 or later.

3

Who is affected by CVE-2024-51991?

CVE-2024-51991 affects authenticated administrators using October CMS with the media.clean_vectors configuration enabled.

4

What kind of attacks might exploit CVE-2024-51991?

CVE-2024-51991 can be exploited by authenticated users to upload malicious SVG files that bypass sanitization.

5

Is the media.clean_vectors configuration safe to use with CVE-2024-51991?

The media.clean_vectors configuration is not safe to use in versions vulnerable to CVE-2024-51991 without the necessary updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203