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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
3DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
In 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
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41717
GHSA-m6h7-g9xx-qhpj