Skip to main content

CS-Cart CVE-2025-50848

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-07-31 cve@mitre.org
6.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Recon
    Access CS-Cart upload endpoint
  2. Delivery
    Upload crafted HTML with malicious payload
  3. Exploit
    Obtain public URL of uploaded file
  4. Install
    Deliver URL to victim via phishing or social engineering
  5. C2
    Victim navigates to trusted-domain URL
  6. Execute
    Malicious HTML renders in victim's browser
  7. Impact
    Session 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

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

Vendor (mitre) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

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.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

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

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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
commercial PHP e-commerce platform with broad SMB merchant deployment globally
Data Quality
4 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

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

cpe:2.3:a:cs-cart:cs-cart:4.18.3:*:*:*:*:*:*:*
CVE-2015-2701 MEDIUM POC
6.8 Mar 25

Cross-site request forgery (CSRF) vulnerability in CS-Cart 4.2.4 allows remote attackers to hijack the authentication of

CVE-2016-4862 HIGH
8.8 Apr 20

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

CVE-2017-2138 HIGH
8.8 Aug 02

Cross-site request forgery (CSRF) vulnerability in CS-Cart Japanese Edition v4.3.10 and earlier (excluding v2 and v3), C

CVE-2025-50850 HIGH
8.6 Jul 31

Credential brute-forcing against CS-Cart 4.18.3 is possible because the vendor login endpoint ships without CAPTCHA, rat

CVE-2017-15673 HIGH
7.2 Nov 28

The files function in the administration section in CS-Cart 4.6.2 and earlier allows attackers to execute arbitrary PHP

CVE-2025-50847 MEDIUM
6.5 Jul 31

Cross-Site Request Forgery in CS-Cart 4.18.3 permits an attacker to silently add arbitrary products to an authenticated

CVE-2021-32202 MEDIUM
6.1 Sep 14

In CS-Cart version 4.11.1, it is possible to induce copy-paste XSS by manipulating the "post description" filed in the b

CVE-2017-10886 MEDIUM
5.4 Nov 17

Cross-site scripting vulnerability in CS-Cart Japanese Edition v4.3.10 and earlier (excluding v2 and v3), CS-Cart Multiv

CVE-2017-2139 MEDIUM
5.3 Apr 28

CS-Cart Japanese Edition v4.3.10 and earlier (excluding v2 and v3), CS-Cart Multivendor Japanese Edition v4.3.10 and ear

CVE-2013-0118 MEDIUM
5.0 Feb 24

CS-Cart before 3.0.6, when PayPal Standard Payments is configured, allows remote attackers to set the payment recipient

CVE-2013-7317 MEDIUM
4.3 Jan 24

Multiple cross-site scripting (XSS) vulnerabilities in CS-Cart before 4.1.1 allow remote attackers to inject arbitrary w

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