CVE-2025-50848 Details
Description
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.
A file upload vulnerability in CS-Cart version 4.18.3 allows attackers to execute arbitrary code. The application permits unrestricted uploads of HTML files, which are directly rendered in the browser. This vulnerability enables attackers to upload crafted HTML files containing malicious content, such as fake login forms for credential harvesting or scripts for Cross-Site Scripting (XSS) attacks. Since the uploaded content is served from a trusted domain, the likelihood of successful phishing or script execution against other users is significantly increased.
To address this vulnerability, block HTML files and similar extensions at the upload level. Implement server-side MIME type checks, use 'Content-Disposition: attachment' headers to force file downloads, and consider sandboxing or quarantining user-uploaded content.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 31, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hackerwahab/CS-Cart-Vulns/blob/main/CVE-2025-50848.md | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| cs-cart cs-cart | 4.18.3 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 5, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2025 | Initial Analysis | [email protected] |
| Jul 31, 2025 | CVE Modified | CISA-ADP |
| Jul 31, 2025 | New CVE Received | [email protected] |