Skip to main content

xShop CVE-2026-49849

| EUVDEUVD-2026-64168 CRITICAL
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-08-21 GitHub_M
9.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to admin panel
  2. Delivery
    Upload crafted .php via attachment feature
  3. Exploit
    Request uploaded file URL
  4. Execution
    Execute PHP webshell as web server
  5. Impact
    Full 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

xshop = 3.0.3

Affected Packages

euvd xshop no fix

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

Vendor (GitHub_M) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 7.2 HIGH

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 50% exploitable
Prevalence
Rare
obscure single-vendor open-source Laravel shop, minimal enterprise footprint
Social Media
6
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.7%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy