Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to admin panel
-
DeliveryUpload crafted .php via attachment feature
-
ExploitRequest uploaded file URL
-
ExecutionExecute PHP webshell as web server
-
ImpactFull host compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated access to the xShop admin panel with administrator privileges (CVSS PR:H) and network reachability of the admin attachment/'attaching' upload endpoint. The concrete prerequisite is the unrestricted upload feature in AttachmentController on xShop 3.0.3, where no MIME/extension allow-list is enforced, plus a deployment in which the uploaded file is stored in a location the web server will execute as PHP. The primary limiting factor is the administrator privilege requirement - this is not exploitable by unauthenticated or low-privilege users; a secondary limiter is that installations serving the upload directory with script execution disabled would prevent payload execution even on the vulnerable version. |
| Impact | The supplied CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H, 9.1) reflects network-reachable, low-complexity exploitation with high technical impact, but the PR:H metric is the decisive limiter: exploitation requires an authenticated administrator, so this is a post-authentication privilege-to-RCE escalation rather than a pre-auth internet-wide threat. No EPSS score, KEV entry, POC, or SSVC decision data was provided, so probabilistic exploitation signals are unknown; the fix commit and PR are public, which lowers the reverse-engineering barrier but does not equal a weaponized exploit. Net priority is high for any deployment that grants admin-panel access to semi-trusted or numerous users, but for single-trusted-admin installations the real-world risk is bounded because an attacker already needs admin rights. The S:C (scope changed) claim is defensible only if code execution escapes the application's security context to the host - for a typical file-upload-to-webshell this is arguable, and an S:U reading (base ~7.2) may better represent same-context RCE. |
| Exploit ScenarioDerived | An attacker who has obtained xShop administrator credentials (via phishing, credential reuse, or a rogue insider) logs into the admin panel and uses the attachment upload feature to submit a PHP webshell disguised as an attachment. Because 3.0.3 does not validate the file type, the file lands in a web-accessible directory; the attacker then requests its URL to execute arbitrary PHP and gains a shell with the web server's privileges, pivoting to full host compromise. No public POC was provided, but the network vector and low attack complexity make exploitation trivial once admin access exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 21, 2026
Remote code execution in xShop 3.0.3, an open-source Laravel e-commerce platform by 4xmen, arises from an unrestricted file-upload flaw in the admin attachment handler that accepts executable content such as .php files. An authenticated administrator can upload a crafted PHP payload and have the web server execute it, yielding full server compromise. There is no public exploit identified at time of analysis and it is not listed in CISA KEV; the issue is fixed in version 3.0.4, whose diff adds strict MIME-type validation to the upload request.
RemediationAI
Upgrade to xShop 3.0.4, which is the vendor-released patch (https://github.com/4xmen/xshop/releases/tag/v3.0.4); the fix is implemented in PR #64 (https://github.com/4xmen/xshop/pull/64, commit dd4a3add9d6f5b5f9dde9685e97f51057903a1db) and detailed in advisory GHSA-fc35-qjg3-f6g7. If immediate upgrade is not possible, restrict admin-panel access to trusted operators and place it behind network ACLs or VPN, and configure the web/application server so the attachment upload directory is served as static files only with PHP/script execution disabled (for example, remove the PHP handler for that path in nginx/Apache), which prevents an uploaded .php file from executing at no cost to legitimate media assets. Additionally enforce an upload allow-list restricted to non-executable types (png, jpg, svg, mp4, pdf, docx, zip, rar, mp3) mirroring the official patch; note that SVG remains allow-listed and can carry stored XSS, so serve uploads from a separate origin or with Content-Disposition attachment headers.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is xShop's admin AttachmentController 'attaching' action in a Laravel (PHP) application (CPE cpe:2.3:a:4xmen:xshop). Before the fix the controller accepted the uploaded file via a plain Illuminate\Http\Request with no type restriction, so a user-supplied extension/content was written into a web-servable location. This is CWE-434 (Unrestricted Upload of File with Dangerous Type): the root cause is failure to validate the uploaded file's extension/MIME type against an allow-list, permitting server-side script files. The 3.0.4 patch (PR #64) introduces an AttachingRequest FormRequest enforcing 'mimes:png,jpg,svg,mp4,pdf,docx,zip,rar,mp3', which constrains uploads to non-executable media/document types.
Know when Xshop 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:H/I:H/A:H
Network-reachable admin upload with low complexity gives AV:N/AC:L, but administrator privilege is required so PR:H; RCE runs in the app's own context so S:U with full C/I/A impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
xShop is an open-source shop developed in Laravel. An Unrestricted File Upload vulnerability in xShop version 3.0.3 allows an authenticated administrator to upload executable files (e.g., .php). By uploading a specially crafted php file, an attacker can achieve Remote Code Execution (RCE) on the server, leading to a full system compromise. Version 3.0.4 fixes the issue.
Articles & Coverage 1
Executive ViewAI
xShop 3.0.3 (open-source Laravel e-commerce platform) contains a critical file-upload vulnerability allowing authenticated administrators to execute arbitrary PHP code, resulting in complete server compromise. Organizations running this version face risk of customer data exposure, transaction fraud, and prolonged service unavailability if administrator accounts are breached.
Apply vendor patch.
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
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-64168
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB