Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to backend with media.library.create
-
DeliveryUpload payload under allowlisted .jpg extension
-
ExploitInvoke crop handler with zero-dimension and .html/.svg target
-
ExecutionByte-for-byte copy writes payload to public media folder
-
ImpactVictim opens file, script executes in app origin
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated October CMS backend session with the media.library.create permission; exploitation then abuses MediaManager::onCropImage / cropImage by supplying a user-controlled destination filename and triggering the zero-dimension crop branch, which does a byte-for-byte File::copy that bypasses both the default_extensions allowlist and the Html::cleanVector SVG sanitizer (the sanitizer only runs on the upload path). On default installs the impact is LIMITED to stored XSS via .html/.svg because the shipped Apache .htaccess and nginx.conf block PHP execution in the media folder; remote code execution requires the non-default, real-world misconfiguration of a web server set to execute PHP inside the media directory. Further limiting factors: a victim must open the attacker-written .html/.svg file for the stored XSS to execute, and the attacker must already hold backend create privileges. Affected versions are <= 3.7.17 and <= 4.3.1; fixed in 3.7.18 and 4.3.2. |
| Impact | This is a moderate-severity, authenticated access-control bypass in the October CMS Media Library, best treated as a this_month priority rather than an emergency. The input provides no EPSS score and no CISA KEV listing, and no PoC/exploit reference is supplied, so exploitation is not demonstrably widespread - consistent with the vuln.today 'this_month' decision label rather than act_now. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N, base 5.5) scores network reach and low attack complexity but is gated by PR:H, i.e. privileged backend access. Notably, the description scopes the requirement to an authenticated backend user holding the specific media.library.create permission, which reads closer to a granular low privilege than full high privilege - I assess PR:L is more defensible than the input's PR:H, which modestly understates how many backend roles could reach this. The real-world impact is also configuration-dependent and the input signals conflict in emphasis: the Tags list RCE and the GHSA acknowledges RCE, but both the CVE description and GHSA state RCE occurs only on non-default servers that execute PHP inside the media folder, while the shipped Apache .htaccess and nginx.conf block that - so the realistic default outcome is stored XSS (C:L/I:L), not code execution. Net: a genuine issue worth patching this cycle, but not a drop-everything emergency given the privilege requirement, absence of KEV/EPSS/PoC evidence, and the misconfiguration dependency for the RCE path. |
| Exploit ScenarioDerived | An authenticated backend user with the media.library.create permission uploads a malicious payload (e.g. SVG or HTML markup) disguised under an allowlisted image extension such as .jpg, then invokes the crop handler with a zero-dimension crop and an attacker-chosen destination filename ending in .html or .svg. Because the crop path performs a byte-for-byte File::copy without re-applying the default_extensions allowlist or the SVG sanitizer, the raw bytes land in the public media folder under the forbidden extension, yielding stored XSS in the application origin that fires when any backend user or visitor opens the file. No public exploit identified at time of analysis, though the mechanism is fully documented in the vendor advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Stored cross-site scripting and, under a non-default server configuration, remote code execution in October CMS through 3.7.17 and through 4.3.1: the Media Library crop handler (MediaManager::onCropImage / cropImage) accepts a user-controlled destination filename without applying the default_extensions allowlist that the normal upload path enforces, so an authenticated backend user with the media.library.create permission can write arbitrary bytes into the public media folder under an attacker-chosen extension. Because the zero-dimension crop branch performs a byte-for-byte File::copy instead of re-encoding the image, malicious SVG content uploaded as a .jpg can be re-written as .svg with the Html::cleanVector sanitizer skipped entirely, and .html files served from the application origin execute script when a backend user or visitor opens them. Default installs ship an Apache .htaccess and nginx.conf that block PHP execution in the media directory, limiting realistic impact to stored XSS; remote code execution only follows on servers misconfigured to execute PHP inside the media folder. No public exploit code was identified at time of analysis and the issue is not in CISA KEV, so it is rated a this_month priority rather than an emergency.
RemediationAI
Vendor-released patch: upgrade to October CMS 3.7.18 (3.x branch) or 4.3.2 (4.x branch), which apply the default_extensions allowlist in the crop handler and add a central destination-extension check in MediaLibrary::put and MediaLibrary::putFile - verify against the changelogs at https://octobercms.com/changelog?json=3 and https://octobercms.com/changelog?json=4 because the advisory prose also cites 4.3.3 for the 4.x branch, and the fix is delivered by commit 118c3d08559e811c1bf69db7c5ed82a22bcf0bbc (see https://github.com/octobercms/october/security/advisories/GHSA-mqwx-84vv-mp26). If upgrading cannot happen immediately, the vendor-specified workarounds are to restrict the media.library.create permission to fully trusted backend users only - accepting that editors without the permission lose Media Library upload and crop capability - and to ensure the web server cannot execute PHP from the media storage directory, which the shipped .htaccess and nginx.conf already enforce; changing that server rule has no functional downside for media serving but must be verified after any custom nginx/Apache configuration or migration, since an executing-PHP media directory is precisely the condition that turns this bug into remote code execution. Updating is the only complete fix; permission restriction and PHP-execution blocking reduce but do not remove the stored XSS and SVG-sanitizer-bypass exposure.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
October CMS is a PHP/Laravel-based content management system, and the affected component is the System module's Media Library (modules/backend MediaManager plus the MediaLibrary write layer). The upload path validates destination filenames against a default_extensions allowlist, rejecting php, phtml, html and htm, and it also runs Html::cleanVector over SVG content. The crop path did neither: cropImage derived the extension from the attacker-supplied destination filename and wrote the staged bytes to the public media folder, while the zero-dimension crop branch short-circuits pixel re-encoding and performs a straight File::copy - so contents uploaded under an allowlisted extension (e.g. a PHP payload or script-bearing SVG disguised as .jpg) are preserved byte-for-byte under a new, attacker-selected extension. The advisory classifies this as both CWE-79 (improper neutralization of input during web page generation, the default-install stored XSS outcome) and CWE-434 (unrestricted upload of file with dangerous type, the underlying allowlist bypass); the CVE record lists CWE-79. Exploitation is gated by an authenticated backend session holding the media.library.create permission, and the outcome is deployment-dependent: shipped Apache .htaccess / nginx.conf deny PHP execution in the media storage directory, so the confirmed realistic impact is script execution in the application origin via .html or .svg; PHP execution in that directory is a non-default, real-world misconfiguration that would escalate the same primitive to remote code execution. Triggering stored XSS additionally requires a victim to open the attacker-written file. The 118c3d08 commit applies the same extension allowlist to the crop handler and, as defense in depth, validates destination extensions centrally in MediaLibrary::put and MediaLibrary::putFile so future write paths inherit the check.
Know when October gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
Needs only the granular media.library.create permission so PR:L not PR:H; a victim must open the stored file (UI:R); XSS executing in the browser from the app origin is a scope change (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
October CMS build 412 is vulnerable to PHP code execution in the file upload functionality resulting in site compromise
An issue was discovered in October through build 471. Rated critical severity (CVSS 9.8), this vulnerability is remotely
octobercms in a CMS platform based on the Laravel PHP Framework. Rated critical severity (CVSS 9.1), this vulnerability
Cross-Site Request Forgery exists in OctoberCMS 1.0.426 (aka Build 426) due to improper validation of CSRF tokens for po
Octobercms is a self-hosted CMS platform based on the Laravel PHP Framework. Rated high severity (CVSS 7.2), this vulner
October CMS through 1.0.431 allows XSS by entering HTML on the Add Posts page. Rated medium severity (CVSS 6.1), this vu
October CMS build 412 is vulnerable to PHP code execution in the asset manager functionality resulting in site compromis
October CMS build 412 is vulnerable to file path modification in asset move functionality resulting in creating creating
October CMS build 412 is vulnerable to Apache configuration modification via file upload functionality resulting in site
Cross-Site Scripting exists in OctoberCMS 1.0.425 (aka Build 425), allowing a least privileged user to upload an SVG fil
Cross-site scripting (XSS) vulnerability in October CMS build 271 and earlier allows remote attackers to inject arbitrar
A Cross-Site Scripting (XSS) vulnerability in installation of October v.3.4.16 allows an attacker to execute arbitrary w
EUVD-2026-127558
GHSA-mqwx-84vv-mp26
NVD
CVE.org
EPSS
Exploit-DB