October CMS: Incomplete Scheme Validation in Image Resizer
The image resizer classified external sources by testing whether the source string began with the substring http, and the string-source branch in ResizeImageItem::fromObject() accepted any value containing :// as a URL. As a result, non-http(s) PHP stream wrappers such as phar://, file:// and ftp:// could be stored in the resizer cache and later passed to the underlying image library. On a phar:// path this can lead to metadata deserialization during subsequent file operations.
Exploitation requires an existing template-authoring or backend-configuration primitive that passes untrusted input into the |resize Twig filter (or the ResizeImages::resize() API). The /resize/{file} route itself is a lookup against a cache entry that was previously written by trusted server-side code, and an unauthenticated visitor cannot cause an arbitrary source path to be written into that cache. In October's trust model the Publisher and Developer backend roles that can author templates are already trusted with template code execution, so this is a defense-in-depth hardening rather than an unauthenticated network-to-RCE path.
Impact
- On installations where a template author has piped untrusted input into
|resizewithout validation, aphar://source could reach the resizer and trigger metadata deserialization - No exposure on default templates or on installations where
|resizeis only applied to trusted values (uploaded file models, theme assets, static URLs) - Hardening; not exploitable from the network without a pre-existing injection primitive on the calling code
Patches
The vulnerability has been patched in v4.3.5.
Workarounds
If upgrading immediately is not possible:
- Audit template code and backend widget configuration for uses of the
|resizefilter (or directResizeImages::resize()calls) that accept untrusted string input, and validate the scheme ishttp/httpsbefore passing it in
References
- Reported by 0xGenesi
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | october/october | >= 4.3.0, < 4.3.5 | 4.3.5 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-20- Platform
- Composer
- Package
october/october- Disclosed
- 14.09.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-2xmm-m4wv-3fjh - CC BY 4.0
Vulnerability history: october/october
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 13
- First → latest
- 06.2020 09.2026
- Without a fix
- 3
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 4
- Medium 5
- Low 3
Disclosures per year
- 2020: 1
- 2021: 1
- 2022: 5
- 2023: 1
- 2024: 2
- 2025: 1
- 2026: 2
-
October CMS: Incomplete Scheme Validation in Image Resizer this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.