CVE-2024-51991: October/system October CMS Allows Unprotected SVG Vulnerability
LOWCVE-2024-51991 is a LOW october cms allows unprotected svg vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting October/system libraries in the Packagist ecosystem. The issue involves october cms allows unprotected svg rename in media manager. Remediation is available by upgrading affected packages to version 3.7.5.
CVE-2024-51991 at a Glance
How to Fix CVE-2024-51991
To remediate this vulnerability, upgrade all affected October/system dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade october/system to 3.7.5
Upgrade october/october to 3.7.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for october/system
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-51991, inspect your project dependencies for October/system:
inspect dependencies for october/system
Analyze the terminal output to locate any version of October/system in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.7.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. In October/system, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-51991 Affected October/system Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
october/system
|
Packagist |
< 3.7.5
|
3.7.5
|
|
october/october
|
Packagist |
< 3.7.5
|
3.7.5
|
References
Frequently Asked Questions
What is CVE-2024-51991?
Which October/system versions are affected?
What version fixes CVE-2024-51991?
Is october/system affected?
Is october/october affected?
What CWE is associated with CVE-2024-51991?
How can I check Packagist dependencies for CVE-2024-51991?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-96hh-8hx5-cpw7",
"modified" : "2025-05-05T22:03:57Z",
"published" : "2025-05-05T14:55:41Z",
"aliases" : [ "CVE-2024-51991" ],
"summary" : "October CMS Allows Unprotected SVG Rename in Media Manager",
"details" : "### Impact\n\nThis 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.\n\nThis 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.\n\n### Patches\n\nThis issue has been patched in v3.7.5.\n\n### References\n\nCredits to:\n- [Cyber-Wo0dy](https://github.com/Cyber-Wo0dy)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [hello@octobercms.com](mailto:hello@octobercms.com)",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "october/system"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.7.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "october/october"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.7.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/octobercms/october/security/advisories/GHSA-96hh-8hx5-cpw7"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-51991"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/octobercms/october"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-434" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-05T14:55:41Z",
"nvd_published_at" : "2025-05-05T17:18:44Z"
}
}