Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister or obtain low-priv account
-
DeliverySend crafted POST to cancel_order endpoint
-
ExploitInject SQL payload in ID parameter
-
ExecutionQuery executes against backend database
-
ImpactExtract credentials or sensitive records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold a valid low-privilege session on the target application - specifically, an account with access to the order cancellation workflow (e.g., a registered customer or vendor account). The vulnerable endpoint is |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L) scores 2.1, which significantly underrepresents the realistic impact of SQL injection. A CWE-89 flaw with network reachability and low complexity typically allows full database read/write access - the VC:L/VI:L/VA:L metrics appear to reflect a constrained scope assessment rather than worst-case SQL injection impact. The E:P supplemental metric confirms a public proof-of-concept exists, materially increasing the likelihood of opportunistic exploitation. There is no CISA KEV listing, so confirmed active exploitation is not established. The PR:L requirement - implying some level of authentication - limits the exposed attack surface compared to a fully unauthenticated flaw, but registered users or low-privilege accounts (e.g., customers who can place and cancel orders) satisfy this prerequisite trivially. Real-world risk is moderate: the product is a niche, free PHP script with limited enterprise deployment, but any live instance is straightforwardly exploitable by authenticated users. |
| Exploit ScenarioDerived | An attacker registers or logs in as a standard customer on a live deployment of the grocery management system, then crafts a POST request to the cancel_order endpoint with a SQL payload in the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
SQL injection in SourceCodester Multi-Vendor Online Grocery Management System 1.0 allows a remote low-privileged attacker to manipulate database queries via the ID POST parameter in the cancel_order function of classes/Master.php. The flaw is a classic CWE-89 unsanitized parameter passed directly into a SQL statement, enabling data extraction, modification, or potential authentication bypass within the application database. A publicly available proof-of-concept exploit exists (GitHub issue linked in references), raising the practical risk beyond the conservative CVSS 4.0 base score of 2.1.
RemediationAI
No vendor-released patch or security advisory has been identified at time of analysis; SourceCodester projects are typically distributed as source code without a formal patch lifecycle. The primary remediation is to refactor classes/Master.php in the cancel_order function to use PHP PDO or MySQLi prepared statements with bound parameters for the ID input, eliminating the injection surface entirely. As a compensating control, restrict access to the affected endpoint via web application firewall rules that detect and block SQL metacharacter injection patterns (single quotes, SQL keywords such as UNION/SELECT in POST bodies). Additionally, enforce strict input validation at the application layer - the ID parameter should accept only numeric values and be rejected otherwise, which is a zero-side-effect mitigation. Operators should also audit all other methods in classes/Master.php and similar class files for the same unsanitized parameter pattern, as this is a systemic issue common to SourceCodester codebases. References: https://vuldb.com/vuln/376290, https://github.com/lee945/cve/issues/5.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected product is a PHP-based multi-vendor grocery e-commerce application distributed by SourceCodester (cpe:2.3:a:sourcecodester:multi-vendor_online_grocery_management_system:*:*:*:*:*:*:*:*), version 1.0. The vulnerable code path is the cancel_order method inside classes/Master.php, a PHP class file that handles data operations. The function accepts a POST parameter named ID without adequate sanitization or parameterized query usage, inserting user-supplied input directly into a SQL query - a textbook CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). This class-based PHP pattern is common in SourceCodester projects and often lacks prepared statements, making it a recurring vulnerability class across their portfolio.
Know when PHP 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable SQLi with low auth; C:H and I:H reflect full DB read/write; A:L since DoS via DB is possible but not primary impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability has been found in SourceCodester Multi-Vendor Online Grocery Management System 1.0. Affected by this issue is the function cancel_order of the file classes/Master.php of the component POST Parameter Handler. The manipulation of the argument ID leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Related Vulnerabilities in Multi-Vendor Online Grocery Management System SQL Injection and Access Control Flaws
View all 6In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-41717
GHSA-m6h7-g9xx-qhpj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB