Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain high-privilege admin credentials
-
DeliveryAuthenticate to Stock Management System
-
ExploitSend crafted HTTP request to /classes/Master.php?f=delete_supplier
-
ExecutionInject SQL payload via id parameter
-
PersistExecute arbitrary database queries
-
ImpactExfiltrate or corrupt supplier data
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 | Exploitation requires a valid authenticated session with high-privilege access to the Stock Management System's admin panel, consistent with PR:H in the CVSS 4.0 vector. The vulnerable endpoint |
| Impact | The CVSS 4.0 base score of 2.0 accurately reflects the constrained real-world risk: the vector PR:H confirms that exploitation requires a high-privilege authenticated session, which is a significant limiting factor. The attack complexity is low (AC:L, AT:N), meaning once authenticated, no further bypass is needed. Impact is graded Low across confidentiality, integrity, and availability (VC:L/VI:L/VA:L), with no subsequent-system impact (SC:N/SI:N/SA:N). The CVSS 4.0 supplemental metric E:P confirms a publicly available exploit, which lowers the skill bar for authenticated insiders or attackers who have already compromised admin credentials. No EPSS data was provided and the CVE is not listed in CISA KEV, indicating no confirmed widespread active exploitation. In practice, the primary threat model is a malicious or compromised administrator exfiltrating or corrupting supplier data - not an unauthenticated remote attacker. |
| Exploit ScenarioDerived | An attacker who has obtained valid high-privilege administrator credentials - whether through phishing, credential stuffing, or lateral movement - navigates to the supplier deletion endpoint and submits a crafted HTTP request with a malicious |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 16, 2026
SQL injection in SourceCodester Stock Management System 1.0 exposes the /classes/Master.php?f=delete_supplier endpoint to database manipulation by authenticated high-privileged users. The id parameter is passed unsanitized to the backend SQL query, enabling an attacker to read, modify, or delete database records. A publicly available exploit exists on GitHub, though exploitation is bounded by the high-privilege authentication requirement and the CVSS 4.0 base score of 2.0 reflects limited real-world blast radius. No active exploitation (CISA KEV) has been confirmed.
RemediationAI
No vendor-released patch has been identified at time of analysis. SourceCodester distributes this application as a free PHP script primarily for educational use, and formal patch cycles are not guaranteed. The primary fix is to replace direct SQL string concatenation in /classes/Master.php with parameterized queries using PHP PDO prepared statements or MySQLi with bound parameters for the id parameter in the delete_supplier function. As a compensating control, enforce strict server-side input validation on the id parameter to accept only integer values, rejecting any non-numeric input before it reaches the database layer. Additionally, restrict access to the /classes/Master.php endpoint at the web server or application firewall level to only legitimately authenticated admin sessions. Given this application is intended for learning environments, organizations running it in any internet-facing or multi-user context should evaluate whether deployment is appropriate without a security review. See VulDB entry https://vuldb.com/vuln/390175 and the public exploit at https://github.com/miku01leon/CVE/issues/5 for technical detail.
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 web application distributed by SourceCodester (CPE: cpe:2.3:a:sourcecodester:stock_management_system:*:*:*:*:*:*:*:*). The vulnerability is rooted in CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The id parameter supplied to the delete_supplier function in /classes/Master.php is concatenated directly into a SQL DELETE statement without parameterization or input validation. This is a classic unsanitized user-input-to-SQL pattern common in legacy PHP codebases that do not use prepared statements or PDO with bound parameters.
Know when Stock Management System 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:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable endpoint but PR:H required; low CIA impact as SQL injection affects only application data scope.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was detected in SourceCodester Stock Management System 1.0. This issue affects some unknown processing of the file /classes/Master.php?f=delete_supplier. The manipulation of the argument ID results in sql injection. The attack may be launched remotely. The exploit is now 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.
More in Stock Management System
View allSourcecodester Stock Management System v1.0 is vulnerable to SQL Injection via editCategories.php. Rated critical severi
A vulnerability was found in rickxy Stock Management System and classified as critical. Rated critical severity (CVSS 9.
A SQL injection vulnerability in the login component in Stock Management System v1.0 allows remote attacker to execute a
A vulnerability was found in rickxy Stock Management System and classified as problematic.php?action=add. Rated high sev
A Cross-Site Request Forgery (CSRF) vulnerability in changeUsername.php in SourceCodester Stock Management System v1.0 a
A vulnerability was found in SourceCodester/oretnom23 Stock Management System 1.0 and classified as critical.php?f=login
A vulnerability has been found in SourceCodester Stock Management System 1.0 and classified as critical. Rated medium se
A persistent cross-site scripting vulnerability in Sourcecodester Stock Management System v1.0 allows remote attackers t
A Reflected Cross-Site Scripting (XSS) vulnerability in the index.php login-portal webpage of SourceCodester Stock Manag
Missing authentication for the /api/employees endpoint in haxxorsid Stock Management System lets remote attackers retrie
A vulnerability was found in CodeAstro Stock Management System 1.0 and classified as problematic.php of the component Ad
A vulnerability was found in rickxy Stock Management System. Rated medium severity (CVSS 5.4), this vulnerability is rem
EUVD-2026-59838
GHSA-5xrw-wm8f-vm47
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB