CVE-2023-44383: October CMS stored XSS by authenticated backend user with improper configuration
Impact
A user with access to the media manager that stores SVG files could create a stored XSS attack against themselves and any other user with access to the media manager when SVG files are supported.
SVG files are supported by default in v3 for convenience; however, this has resulted in multiple mistaken vulnerability reports from security researchers. As per the documentation, if a backend user is not trusted, the advice is to remove the svg extension from the list of supported file types.
Patches
The issue has been patched in v3.5.2 by including an SVG sanister. It is enabled by default for new installations but must be enabled for existing sites in the config/media.php file.
'cleanvectors' => true,
Workarounds
If you cannot upgrade for this patch, follow the pervious advice and remove svg from the supported file types.
References
- https://github.com/octobercms/october/blob/3.x/config/media.php
Credits to: - Faris Krivic - Okan Kurtulus - Aldin Visnjic - Bug Shankar
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 to assist with development workflow. A user with access to the media manager that stores SVG files could create a stored XSS attack against themselves and any other user with access to the media manager when SVG files are supported. This issue has been patched in version 3.5.2.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the vulnerability ID for this October CMS vulnerability?
The vulnerability ID for this October CMS vulnerability is CVE-2023-44383.
What is the impact of CVE-2023-44383?
A user with access to the media manager that stores SVG files could create a stored XSS attack against themselves and any other user with access to the media manager when SVG files are supported.
How can an attacker exploit CVE-2023-44383?
An attacker with access to the media manager in October CMS can upload and execute malicious SVG files to perform a stored XSS attack.
What is the severity level of CVE-2023-44383?
CVE-2023-44383 has a severity level of medium (5.4).
How can I fix CVE-2023-44383 in October CMS?
To fix CVE-2023-44383, you need to update October CMS to version 3.5.2 or higher.