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 score of 6.3 suggests a moderate severity impact with low integrity, confidentiality, and availability effects, the true risk is elevated by multiple exploitation signals. The CVSS vector shows low attack complexity (AC:L), network accessibility (AV:N), and requires only low privileges (PR:L), making the attack straightforward for any authenticated user. The critical factor is that a public proof-of-concept exists and is confirmed available on GitHub, coupled with an EPSS score indicating probability of exploitation (E:P), which significantly increases practical risk. However, the requirement for authentication (PR:L) limits the attack surface compared to an unauthenticated SQL injection. Organizations running older versions of this open-source project without active security patching face high real-world risk, particularly if deployed internally or with weak access controls. The combination of public POC availability, authenticated but easy exploitation, and typical weak security practices in open-source inventory systems elevates this to a moderate-to-high priority despite the moderate CVSS score. |
| Exploit ScenarioDerived | An authenticated user with standard inventory system access (e.g., a store clerk or junior manager) navigates to the update_out_standing.php endpoint and modifies the 'sid' GET parameter from a normal value like '123' to a malicious SQL payload such as '123 OR 1=1 UNION SELECT user(),version(),database()--'. The unvalidated parameter is directly concatenated into a SQL query, allowing the attacker to extract database credentials, enumerate table structures, or exfiltrate customer and sales data. Given the low attack complexity and public availability of the working exploit code, an attacker with any valid system account can execute this attack in seconds without special tools, making it an attractive target for insider threats or compromised credential scenarios. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 24, 2026
SourceCodester Sales and Inventory System 1.0 contains a SQL injection vulnerability in the update_out_standing.php file's sid parameter that allows authenticated remote attackers to execute arbitrary database queries. Public exploit code exists for this vulnerability, and no patch is currently available. The vulnerability affects PHP-based deployments and has a CVSS score of 5.3.
Earlier versions of this analysis (1)
A SQL injection vulnerability exists in SourceCodester Sales and Inventory System version 1.0 within the update_out_standing.php file, where the HTTP GET parameter 'sid' is not properly sanitized before database queries. An authenticated attacker can remotely manipulate this parameter to execute arbitrary SQL commands, potentially accessing, modifying, or deleting sensitive inventory and sales data. A proof-of-concept exploit is publicly available on GitHub, and the vulnerability carries a CVSS score of 6.3 with an EPSS score indicating public exploitation probability.
RemediationAI
Contact SourceCodester (www.sourcecodester.com) to determine if a patched version is available and upgrade immediately if a patch exists. If no official patch is available from the vendor, implement immediate mitigations: (1) Restrict network access to the application to trusted IP ranges only, (2) Enforce strong authentication and disable account sharing, (3) Implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in the 'sid' parameter, and (4) Apply input validation on the client and server side to restrict the 'sid' parameter to expected numeric or alphanumeric values only. Additionally, enable SQL query logging to detect exploitation attempts and consider migrating to a actively maintained alternative to SourceCodester Sales and Inventory System if the vendor does not provide timely security updates. The public POC evidence (https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/SQLi-UpdateOutStanding-sid.md) should inform your incident response team of the exact attack vector for monitoring.
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 a classic SQL injection flaw (CWE-89) affecting a PHP-based web application used for sales and inventory management. The affected component is the HTTP GET Parameter Handler in update_out_standing.php, which fails to properly validate or parameterize the 'sid' (likely 'sales_id' or 'statement_id') input parameter before incorporating it into SQL queries. This allows attackers to break out of the intended query context and inject arbitrary SQL code. The vulnerability affects SourceCodester Sales and Inventory System as identified by CPE cpe:2.3:a:sourcecodester:sales_and_inventory_system:*:*:*:*:*:*:*:*, indicating all versions appear vulnerable. The public proof-of-concept demonstrates the injection technique through direct manipulation of GET parameters sent to the vulnerable endpoint.
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 detected in SourceCodester Sales and Inventory System 1.0. Impacted is an unknown function of the file update_out_standing.php of the component HTTP GET Parameter Handler. Performing a manipulation of the argument sid results in sql injection. The attack is possible to be carried out remotely. The exploit is now public and may be used.
Executive ViewAI
Organizations using A vulnerability should be aware of moderate risk from CVE-2026-4780, a SQL injection vulnerability rated CVSS 5.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.
More 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-15031
GHSA-v4c4-58mq-6g8m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB