CVE-2026-15703
Deferred Deferred - Pending Action

SQL Injection in Simple and Nice Shopping Cart Script

Vulnerability report for CVE-2026-15703, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-14

Last updated on: 2026-07-15

Assigner: VulDB

Description

A vulnerability was detected in SourceCodester Simple and Nice Shopping Cart Script 1.0. This vulnerability affects unknown code of the file /admin/userproductdeletequery.php. Performing a manipulation of the argument user_id results in sql injection. It is possible to initiate the attack remotely. The exploit is now public and may be used.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-14
Last Modified
2026-07-15
Generated
2026-08-03
AI Q&A
2026-07-14
EPSS Evaluated
2026-08-02
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester simple_and_nice_shopping_cart_script 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a SQL injection flaw in SourceCodester Simple and Nice Shopping Cart Script 1.0. It affects the file /admin/userproductdeletequery.php, specifically through the 'user_id' parameter.

The issue occurs because the application does not properly validate or sanitize user-supplied input for the 'user_id' parameter. This allows attackers to inject malicious SQL code into database queries.

The vulnerability can be exploited remotely without requiring authentication. Attackers can use techniques like time-based blind SQL injection to test and exploit the flaw, potentially gaining unauthorized access to the database.

  • Allows unauthorized database access and data manipulation.
  • Can lead to sensitive information leakage.
  • May result in potential system compromise.
Detection Guidance

This vulnerability can be detected by checking for the presence of the vulnerable file /admin/userproductdeletequery.php in the SourceCodester Simple and Nice Shopping Cart Script 1.0. Since the vulnerability involves SQL injection via the 'user_id' parameter, you can test for it using time-based blind SQL injection techniques.

  • Use a web vulnerability scanner like SQLmap to automate detection. Example command: sqlmap -u 'http://[target]/admin/userproductdeletequery.php?user_id=1' --batch --level=3 --risk=3
  • Manually test for time-based delays using a payload like: user_id=1 AND (SELECT 3638 FROM (SELECT(SLEEP(5)))ukIq). If the response is delayed by 5 seconds, the vulnerability is likely present.
  • Check web server logs for unusual requests targeting /admin/userproductdeletequery.php with suspicious parameters.
  • Verify if the application is running the vulnerable version (SourceCodester Simple and Nice Shopping Cart Script 1.0) by checking the source code or version metadata.
Impact Analysis

If you are using the affected software (SourceCodester Simple and Nice Shopping Cart Script 1.0), this vulnerability could have severe consequences for your system and data.

  • Attackers could gain unauthorized access to your database, allowing them to view, modify, or delete sensitive data.
  • The vulnerability could lead to data breaches, exposing customer information, financial records, or other confidential data.
  • An attacker could manipulate database records, potentially altering product information, prices, or user accounts.
  • In severe cases, the vulnerability could allow attackers to compromise the entire system, leading to further attacks or unauthorized control.
  • The public availability of the exploit increases the risk, as attackers can easily target unpatched systems.
Compliance Impact

This vulnerability can significantly impact compliance with various data protection and privacy regulations, depending on the type of data your system handles.

  • GDPR (General Data Protection Regulation): If your system processes personal data of EU citizens, this vulnerability could lead to non-compliance. A successful exploit could result in unauthorized access or disclosure of personal data, violating GDPR's requirements for data protection and breach notification. You may face significant fines (up to 4% of global revenue or €20 million, whichever is higher) if a breach occurs and proper safeguards were not in place.
  • HIPAA (Health Insurance Portability and Accountability Act): If your system stores or processes protected health information (PHI), this vulnerability could lead to a HIPAA violation. Unauthorized access to PHI is a breach under HIPAA, requiring notification and potentially resulting in fines ranging from $100 to $50,000 per violation (or per record), with a maximum penalty of $1.5 million per year for each violation.
  • PCI DSS (Payment Card Industry Data Security Standard): If your system handles payment card information, this vulnerability could lead to non-compliance with PCI DSS requirements for securing cardholder data. A breach could result in fines, increased transaction fees, or even the loss of ability to process credit card payments.
  • Other regulations: Depending on your industry and location, this vulnerability could also impact compliance with other standards such as SOX (Sarbanes-Oxley Act), FISMA (Federal Information Security Management Act), or industry-specific regulations. Non-compliance could result in legal penalties, reputational damage, or loss of business certifications.

To maintain compliance, it is critical to address this vulnerability immediately by applying patches, implementing suggested fixes, and conducting security audits to ensure no further risks exist.

Mitigation Strategies

To mitigate this SQL injection vulnerability, follow these immediate steps:

  • Apply input validation and sanitization to the 'user_id' parameter in /admin/userproductdeletequery.php. Ensure only expected data types (e.g., integers) are accepted.
  • Implement prepared statements with parameter binding (e.g., using PDO or MySQLi in PHP) to separate SQL logic from user-supplied data.
  • Restrict database user permissions to minimize potential damage. The application should not use a database account with administrative privileges.
  • Temporarily disable or restrict access to the vulnerable file (/admin/userproductdeletequery.php) if it is not critical for operations.
  • Monitor network traffic and logs for signs of exploitation attempts, such as unusual SQL queries or repeated requests to the vulnerable endpoint.
  • Conduct a security audit to identify and remediate similar vulnerabilities in other parts of the application.
  • Update the application to the latest version if a patch or fixed version is available from the vendor.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-15703. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart