← VULNERABILITIES

CVE-2026-63193

October: Media Library Crop Handler Bypasses Upload Extension Allowlist

Medium · 5.5Fix available
CVSS
5.5
EPSS
0.57% (p49)
Published
2026-11-17
Age
19d old
Modified
2026-11-21
Product
octobercms october
Aliases
GHSA-mqwx-84vv-mp26

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N

Description

October System provides the system module for October Content Management System. Prior to 3.7.18 and 4.3.2, the Media Library MediaManager::onCropImage and cropImage path accepts a user-controlled destination filename without applying the default_extensions allowlist enforced by the normal upload path. An authenticated backend user with media.library.create permission can upload arbitrary bytes under an allowed extension and use the zero-dimension crop branch, which performs a byte-for-byte File::copy, to write those bytes into the public media folder under an attacker-selected extension. Default server configurations block PHP execution in that folder, but HTML or SVG output can produce stored cross-site scripting in the application origin; non-default servers that execute PHP in the media directory can expose remote code execution. This vulnerability is fixed in 3.7.18 and 4.3.2.

Fixed in

4.3.2

Affected packages

EcosystemPackageRangeFixed
Packagistoctober/october<= 3.7.13—
Packagistoctober/october>= 4.0.0, <= 4.3.14.3.2

Sources

  • NVD · first seen 19d ago · NVD terms of use
  • OSV · first seen 19d ago · CC-BY 4.0
  • GitHub Advisory Database · first seen 17d ago · CC-BY 4.0
  • CVE List · first seen 19d ago · CVE Terms of Use

References

JSON