Skip to content

October CMS stored XSS by authenticated backend user with improper configuration

Moderate severity GitHub Reviewed Published Nov 29, 2023 in octobercms/october

Package

composer october/system (Composer)

Affected versions

>= 3.0.0, < 3.5.2

Patched versions

3.5.2

Description

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.

'clean_vectors' => true,

Workarounds

If you cannot upgrade for this patch, follow the pervious advice and remove svg from the supported file types.

References

Credits to:

  • Faris Krivic
  • Okan Kurtulus
  • Aldin Visnjic
  • Bug Shankar

For more information

If you have any questions or comments about this advisory:

References

@daftspunk daftspunk published to octobercms/october Nov 29, 2023
Published by the National Vulnerability Database Nov 29, 2023
Published to the GitHub Advisory Database Nov 29, 2023
Reviewed Nov 29, 2023

Severity

Moderate
5.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2023-44383

GHSA ID

GHSA-rvx8-p3xp-fj3p

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.