GHSA-2xmm-m4wv-3fjh: October CMS Incomplete Scheme Validation Vulnerability

LOW
CVSS 3.9
CWE-20
Published
Advisory Summary

GHSA-2xmm-m4wv-3fjh is a LOW (CVSS 3.9) incomplete scheme validation vulnerability (CWE-20: Improper Input Validation) affecting October CMS libraries in the Packagist ecosystem. The issue involves incomplete scheme validation in image resizer. Remediation is available by upgrading affected packages to version 4.3.5.

GHSA-2xmm-m4wv-3fjh at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-2xmm-m4wv-3fjh
Severity LOW
CVSS v3.1 Base Score 3.9
CWE Classification CWE-20: Improper Input Validation
Affected Product October CMS
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 3.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required High (PR:H)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix GHSA-2xmm-m4wv-3fjh

To remediate this vulnerability, upgrade all affected October CMS dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

october/october fixed: 4.3.5
Upgrade october/october to 4.3.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for october/october

How to Check if You Are Affected

To determine whether your application is affected by GHSA-2xmm-m4wv-3fjh, inspect your project dependencies for October CMS:

inspect dependencies for october/october

Analyze the terminal output to locate any version of October CMS in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.3.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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In October CMS, 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

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 `|resize` without validation, a `phar://` source could reach the resizer and trigger metadata deserialization - No exposure on default templates or on installations where `|resize` is 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 `|resize` filter (or direct `ResizeImages::resize()` calls) that accept untrusted string input, and validate the scheme is `http`/`https` before passing it in ### References - Reported by 0xGenesi

GHSA-2xmm-m4wv-3fjh Affected October CMS Versions

1 component(s)
Fixed Versions:
4.3.5
Product / Package Ecosystem Affected Versions Fixed Version
october/october
Packagist
≥ 4.3.0
< 4.3.5
4.3.5

References

Frequently Asked Questions

What is GHSA-2xmm-m4wv-3fjh?
GHSA-2xmm-m4wv-3fjh is a security vulnerability in October CMS involving Incomplete Scheme Validation in Image Resizer under CWE-20: Improper Input Validation.
Which October CMS versions are affected?
Affected versions include releases prior to 4.3.5 across affected packages: october/october.
What version fixes GHSA-2xmm-m4wv-3fjh?
Upgrading to 4.3.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is october/october affected?
Yes, october/october is affected in releases prior to 4.3.5. Upgrade your dependency to 4.3.5 or later.
What is the CVSS score of GHSA-2xmm-m4wv-3fjh?
GHSA-2xmm-m4wv-3fjh has a CVSS v3.1 base score of 3.9 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L.
What CWE is associated with GHSA-2xmm-m4wv-3fjh?
GHSA-2xmm-m4wv-3fjh is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Packagist dependencies for GHSA-2xmm-m4wv-3fjh?
Run the dependency tree command: 'inspect dependencies for october/october'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2xmm-m4wv-3fjh",
  "modified" : "2026-09-14T17:15:44Z",
  "published" : "2026-09-14T17:15:44Z",
  "aliases" : [ ],
  "summary" : "October CMS: Incomplete Scheme Validation in Image Resizer",
  "details" : "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.\n\n**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.\n\n### Impact\n- On installations where a template author has piped untrusted input into `|resize` without validation, a `phar://` source could reach the resizer and trigger metadata deserialization\n- No exposure on default templates or on installations where `|resize` is only applied to trusted values (uploaded file models, theme assets, static URLs)\n- Hardening; not exploitable from the network without a pre-existing injection primitive on the calling code\n\n### Patches\nThe vulnerability has been patched in v4.3.5.\n\n### Workarounds\nIf upgrading immediately is not possible:\n- Audit template code and backend widget configuration for uses of the `|resize` filter (or direct `ResizeImages::resize()` calls) that accept untrusted string input, and validate the scheme is `http`/`https` before passing it in\n\n### References\n- Reported by 0xGenesi",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "october/october"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.3.0"
      }, {
        "fixed" : "4.3.5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "< 4.3.4"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/octobercms/october/security/advisories/GHSA-2xmm-m4wv-3fjh"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/octobercms/october"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-14T17:15:44Z",
    "nvd_published_at" : null
  }
}