CS-Cart
CVE-2025-50848
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAccess CS-Cart upload endpoint
-
DeliveryUpload crafted HTML with malicious payload
-
ExploitObtain public URL of uploaded file
-
InstallDeliver URL to victim via phishing or social engineering
-
C2Victim navigates to trusted-domain URL
-
ExecuteMalicious HTML renders in victim's browser
-
ImpactSession token or credentials exfiltrated
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 | The essential condition is access to CS-Cart's file upload functionality on a version 4.18.3 instance. The official CVSS vector designates PR:N, implying the upload endpoint may be accessible without authentication, but the CVE description does not explicitly state this - if upload requires a registered customer account or administrative credentials, the effective privilege requirement rises to PR:L or PR:H respectively, and this should be verified against the specific deployment. The victim must actively navigate to the attacker-supplied URL for the payload to execute (UI:R), which limits mass automated exploitation and requires a social engineering step. No non-default configuration flag is described as a prerequisite - if the PR:N classification is accurate, default installations of CS-Cart 4.18.3 with the upload feature active are exposed. Exploitation is scoped to version 4.18.3 specifically per available data; broader version applicability is unconfirmed. |
| Impact | The official CVSS 3.1 score of 6.1 Medium (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) captures a network-reachable, low-complexity attack with scope change, constrained by required victim interaction and limited per-incident impact. EPSS at 0.22% (13th percentile) indicates no significant observed exploitation at scale, consistent with the absence of a CISA KEV entry. Publicly available exploit code on GitHub lowers the attacker skill bar, but the UI:R requirement - the victim must navigate to the crafted URL - prevents fully automated mass exploitation and aligns with EPSS's low signal. The PR:N designation implies unauthenticated upload access; however, the CVE description does not explicitly confirm this, and if upload is gated behind customer registration or admin authentication, real-world risk is further constrained. The misleading 'RCE' tag may cause automated triage tools to inflate priority - defenders should classify this as a stored XSS and phishing enablement issue, not a server compromise risk. Priority should reflect whether the affected storefront serves authenticated high-value users whose sessions could be hijacked. |
| Exploit ScenarioDerived | An attacker with file upload access - whether unauthenticated or via a registered customer account - uploads a crafted HTML file containing a JavaScript keylogger or a visually convincing replica of the CS-Cart login page to a target storefront. A proof-of-concept demonstrating this technique is publicly available on GitHub. The attacker then distributes the resulting URL - which bears the legitimate store domain - via targeted phishing email or social engineering, causing victims who follow the link to execute the malicious script or unwittingly submit credentials to an attacker-controlled endpoint. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
Unrestricted HTML file upload in CS-Cart 4.18.3 enables stored cross-site scripting and phishing attacks against users of affected storefronts. An attacker who can upload files to the platform may submit a crafted HTML document subsequently served from the trusted store domain, allowing arbitrary JavaScript execution in victims' browsers or presentation of convincing fake login pages for credential harvesting. Publicly available exploit code exists on GitHub; the EPSS score of 0.22% (13th percentile) reflects low observed exploitation pressure and the vulnerability is not listed in the CISA KEV catalog.
RemediationAI
No vendor-released patch identified at time of analysis. The only public reference is the researcher PoC at https://github.com/hackerwahab/CS-Cart-Vulns/blob/main/CVE-2025-50848.md; no CS-Cart security bulletin or fix version has been published. As a primary compensating control, administrators should configure the web server to serve all files from user-accessible upload directories with a Content-Disposition: attachment header, forcing download rather than browser rendering - this neutralizes XSS and phishing without blocking uploads, though it will break any legitimate inline preview functionality. A stricter alternative is denying upload of .html, .htm, .svg, and .xhtml extensions at the application validation layer, which fully closes the attack class at the cost of preventing HTML document uploads by users who may rely on this legitimately. Additionally, deploying a restrictive Content-Security-Policy header on the storefront domain constrains what uploaded scripts can access even if rendered, reducing the impact of any bypass. CS-Cart operators should monitor the vendor's security advisories for an official patch and apply it immediately upon release.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CS-Cart (CPE: cpe:2.3:a:cs-cart:cs-cart:4.18.3:*:*:*:*:*:*:*) is a commercial PHP-based e-commerce platform. The root cause - CWE-79, Improper Neutralization of Input During Web Page Generation - manifests here through absent or insufficient file extension and MIME-type enforcement on the upload subsystem: the application does not block .html or .htm files, nor does it override the response Content-Type to force download, so browsers render uploaded HTML as a full document. Because the file is served from the legitimate CS-Cart domain, same-origin trust allows embedded scripts to interact with session cookies and other domain-scoped data, lending equal credibility to phishing overlays. The 'RCE' tag attached to this CVE in the intelligence metadata is misleading - the impact is client-side code execution within the victim's browser context, not server-side remote code execution, and should not be interpreted as a server-compromise vector.
Know when Cs Cart 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:N/UI:R/S:C/C:L/I:L/A:N
PR:L reflects the likely minimum of a registered customer account to access file upload; all other metrics align with stored XSS delivered via trusted domain with scope change affecting other users.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
A file upload vulnerability was discovered in CS Cart 4.18.3, allows attackers to execute arbitrary code. CS Cart 4.18.3 allows unrestricted upload of HTML files, which are rendered directly in the browser when accessed. This allows an attacker to upload a crafted HTML file containing malicious content, such as a fake login form for credential harvesting or scripts for Cross-Site Scripting (XSS) attacks. Since the content is served from a trusted domain, it significantly increases the likelihood of successful phishing or script execution against other users.
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.
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.
Affected Products (CPE)CVE.org
Cross-site request forgery (CSRF) vulnerability in CS-Cart 4.2.4 allows remote attackers to hijack the authentication of
Twigmo bundled with CS-Cart 4.3.9 and earlier and Twigmo bundled with CS-Cart Multi-Vendor 4.3.9 and earlier allow remot
Cross-site request forgery (CSRF) vulnerability in CS-Cart Japanese Edition v4.3.10 and earlier (excluding v2 and v3), C
Credential brute-forcing against CS-Cart 4.18.3 is possible because the vendor login endpoint ships without CAPTCHA, rat
The files function in the administration section in CS-Cart 4.6.2 and earlier allows attackers to execute arbitrary PHP
Cross-Site Request Forgery in CS-Cart 4.18.3 permits an attacker to silently add arbitrary products to an authenticated
In CS-Cart version 4.11.1, it is possible to induce copy-paste XSS by manipulating the "post description" filed in the b
Cross-site scripting vulnerability in CS-Cart Japanese Edition v4.3.10 and earlier (excluding v2 and v3), CS-Cart Multiv
CS-Cart Japanese Edition v4.3.10 and earlier (excluding v2 and v3), CS-Cart Multivendor Japanese Edition v4.3.10 and ear
CS-Cart before 3.0.6, when PayPal Standard Payments is configured, allows remote attackers to set the payment recipient
Multiple cross-site scripting (XSS) vulnerabilities in CS-Cart before 4.1.1 allow remote attackers to inject arbitrary w
NVD
CVE.org
EPSS
GitHub
Exploit-DB