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. |
| Impact | While the CVSS 3.1 score of 6.3 indicates moderate severity with network-accessible attack vector (AV:N), low attack complexity (AC:L), and broad impact (confidentiality, integrity, and availability), several factors elevate practical risk. The vulnerability requires authentication (PR:L, privileged user), which reduces the attack surface compared to unauthenticated SQL injection. However, EPSS signals exploitation probability (E:P) and confirmed POC availability (E:P) demonstrate active weaponization. The CVSS vector includes no user interaction requirement (UI:N) and does not escalate privileges (S:U), meaning an authenticated insider or low-privilege user can directly exploit this. The public availability of proof-of-concept code, combined with the relatively low barrier to entry for SQL injection attacks and the real-world use of this sales/inventory software in small businesses, positions this as a high-priority vulnerability for organizations running affected versions. Organizations using this software should prioritize patching immediately. |
| Exploit ScenarioDerived | An authenticated user (employee with legitimate access to the Sales and Inventory System) discovers the SQL injection vulnerability in the /update_supplier.php endpoint and crafts a malicious HTTP GET request with a payload in the 'sid' parameter, such as: '/update_supplier.php?sid=1 OR 1=1--'. Since the endpoint accepts HTTP GET requests without complexity (AC:L) and does not validate the sid parameter before constructing SQL queries, the injected SQL executes against the backend database, allowing the attacker to enumerate supplier records, extract sensitive data, modify inventory information, or delete critical business records. The publicly available GitHub proof-of-concept (https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/SQLi-UpdateSupplier-sid.md) provides ready-to-use exploit code that lowers the technical barrier for attack execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 23, 2026
SQL injection in SourceCodester Sales and Inventory System 1.0 via the sid parameter in /update_supplier.php allows authenticated remote attackers to read, modify, or delete database contents. Public exploit code exists for this vulnerability, and no patch is currently available.
Earlier versions of this analysis (1)
A SQL injection vulnerability exists in SourceCodester Sales and Inventory System 1.0 within the /update_supplier.php file, where the HTTP GET parameter 'sid' is not properly sanitized before being used in database queries. An authenticated attacker can exploit this vulnerability to read, modify, or delete sensitive database records, affecting the confidentiality, integrity, and availability of the system. A proof-of-concept exploit has been publicly disclosed on GitHub, and the vulnerability is actively exploitable with moderate CVSS score of 6.3, though practical exploitation requires valid user authentication.
RemediationAI
Immediate action is required: upgrade SourceCodester Sales and Inventory System to a patched version released by the vendor, if available. Organizations should check https://www.sourcecodester.com/ and contact SourceCodester support for patched builds addressing CVE-2026-4568. Until patching is possible, implement the following mitigation controls: restrict network access to /update_supplier.php via firewall rules or WAF to authorized IP ranges only; implement input validation and sanitization at the application layer by enforcing parameterized SQL queries and prepared statements; deploy a Web Application Firewall (WAF) with SQL injection detection rules to block malicious payloads targeting the 'sid' parameter; conduct code review of all other PHP endpoints for similar SQL injection vulnerabilities; and enforce principle of least privilege by limiting database user permissions to only required operations. Additionally, enable SQL query logging and monitoring to detect exploitation attempts.
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 vulnerability is rooted in improper input validation on HTTP GET requests processed by a PHP application (SourceCodester Sales and Inventory System 1.0, CPE: cpe:2.3:a:sourcecodester:sales_and_inventory_system:*:*:*:*:*:*:*:*). The affected component is the HTTP GET Request Handler for /update_supplier.php, which fails to implement parameterized queries or input escaping when processing the 'sid' (supplier ID) parameter. This directly violates CWE-89 (SQL Injection), allowing attackers to inject arbitrary SQL commands. The PHP-based application likely uses direct string concatenation to build SQL queries rather than prepared statements with bound parameters, a fundamental web application security antipattern that enables SQL injection attacks.
Know when Sales And Inventory 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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was found in SourceCodester Sales and Inventory System 1.0. This affects an unknown function of the file /update_supplier.php of the component HTTP GET Request Handler. The manipulation of the argument sid results in sql injection. The attack may be launched remotely. The exploit has been made public and could be used. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Executive ViewAI
Organizations using A vulnerability should be aware of moderate risk from CVE-2026-4568, a SQL injection vulnerability rated CVSS 6.3. Exploitation could allow attackers to execute code or inject malicious input. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.
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 SourceCodester Sales and Inventory System SQL Injection
View all 5More in Sales And Inventory System
View allSQL injection vulnerability in SourceCodester Sales and Inventory System v 1.0 allows remote attackers to execute arbitr
A vulnerability was found in Campcodes Sales and Inventory System 1.0 and classified as critical. Rated medium severity
A vulnerability was found in Campcodes Sales and Inventory System 1.0 and classified as critical.php. Rated medium sever
A vulnerability has been found in Campcodes Sales and Inventory System 1.0 and classified as critical. Rated medium seve
Reflected cross-site scripting (XSS) in SourceCodester Sales and Inventory System 1.0 allows remote attackers to inject
SQL injection in itsourcecode Sales and Inventory System 1.0 exposes the login endpoint to unauthenticated remote exploi
A vulnerability, which was classified as critical, was found in Campcodes Sales and Inventory System 1.0. Rated medium s
CVE-2025-7538 is a critical unrestricted file upload vulnerability in Campcodes Sales and Inventory System version 1.0,
SQL injection in Campcodes Sales and Inventory System 1.0 allows remote attackers to execute arbitrary SQL commands via
CVE-2025-6311 is a critical SQL injection vulnerability in Campcodes Sales and Inventory System version 1.0 affecting th
A security vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.
SQL injection in Campcodes Sales and Inventory System 1.0 allows remote unauthenticated attackers to inject malicious SQ
EUVD-2026-14351
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB