Critical SQL Injection Vulnerability in SourceCodester Simple and Nice Shopping Cart Script (CVE-2026-15703)
A critical SQL injection vulnerability, identified as CVE-2026-15703, exists in SourceCodester Simple and Nice Shopping Cart Script version 1.0, allowing remote attackers to execute arbitrary SQL commands by manipulating the 'user_id' argument in '/admin/userproductdeletequery.php', with a public exploit enabling unauthorized data access, modification, or deletion.
CVE search metadata
CVE search record: CVE-2026-15703. Severity: high. CVSS: 7.3. KEV: no. Product: Simple and Nice Shopping Cart Script 1.0. Brief: Critical SQL Injection Vulnerability in SourceCodester Simple and Nice Shopping Cart Script (CVE-2026-15703). Brief link: https://feed.craftedsignal.io/briefs/2026-07-sourcecodester-sqli/
A critical SQL injection vulnerability, identified as CVE-2026-15703, has been discovered in SourceCodester Simple and Nice Shopping Cart Script version 1.0. This flaw specifically affects the /admin/userproductdeletequery.php file, where improper handling of the user_id argument allows for remote SQL injection. Attackers can manipulate this argument to execute arbitrary SQL commands against the backend database. The vulnerability has a CVSS v3.1 Base Score of 7.3 (High) and is remotely exploitable without authentication. A public exploit for this vulnerability is now available, significantly increasing the risk of widespread exploitation against unpatched systems. This vulnerability enables unauthorized data disclosure, modification, and potentially deletion within the application's database.
Attack Chain
- An unauthenticated attacker sends a crafted HTTP GET request to the vulnerable endpoint
/admin/userproductdeletequery.phpon the target web server. - The attacker includes a malicious SQL injection payload within the
user_idparameter of the URL query string. - The vulnerable SourceCodester script processes the
user_idargument without proper input sanitization or validation before incorporating it into an SQL query. - The application's backend database executes the attacker-controlled SQL query, allowing for unauthorized operations beyond the intended functionality.
- Depending on the payload, the attacker can achieve unauthorized data access (e.g., retrieving sensitive database contents), data modification, or deletion of database records.
- The web server responds to the attacker, potentially revealing the results of the executed SQL query or confirming the success of the injection, enabling further reconnaissance or impact.
Impact
Successful exploitation of CVE-2026-15703 can lead to unauthorized access to sensitive data stored in the application's database, including user details, product information, and other confidential records. Attackers could also modify or delete existing data, leading to data integrity issues, defacement, or service disruption. The public availability of an exploit significantly lowers the bar for attackers, increasing the likelihood of widespread attacks against vulnerable SourceCodester Simple and Nice Shopping Cart Script 1.0 installations. While the CVSS v3.1 score indicates low impact on confidentiality, integrity, and availability (C:L, I:L, A:L), SQL injection can often enable more severe consequences such as full database compromise or, in some cases, remote code execution.
Recommendation
- Prioritize patching or upgrading SourceCodester Simple and Nice Shopping Cart Script to a version that addresses CVE-2026-15703 immediately.
- Deploy the Sigma rule "Detect CVE-2026-15703 Exploitation - SourceCodester SQLi" to your SIEM and tune for your environment to identify exploitation attempts.
- Implement web application firewalls (WAFs) with rules to detect and block common SQL injection patterns, specifically targeting the
/admin/userproductdeletequery.phpendpoint and theuser_idparameter. - Enable comprehensive logging for web servers to capture detailed HTTP request information, including full URI and query parameters, to aid in detection and forensic analysis related to
category: webserverlogs.
Detection coverage 1
Detect CVE-2026-15703 Exploitation - SourceCodester SQLi
highDetects CVE-2026-15703 exploitation - SQL injection vulnerability in SourceCodester Simple and Nice Shopping Cart Script 1.0 via the 'user_id' parameter in '/admin/userproductdeletequery.php'.
Detection queries are available on the platform. Get full rules →