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 5.3 score indicates moderate severity, the actual exploitation risk is substantially lower when synthesizing multiple intelligence sources. The EPSS score of 0.03% (percentile 8%) strongly suggests minimal real-world exploitation probability despite public POC availability. The CVSS vector reveals authentication is required (PR:L), limiting the threat surface to users with valid system access. Attack vector is network-based with low complexity, but the limited impact scope (VC:L, VI:L, VA:L - only confidentiality, integrity, and availability of data affected, not the system itself) and low EPSS percentile indicate this should not be prioritized above vulnerabilities with higher exploitation probability. This represents a case where CVSS score alone overstates risk; the authentication requirement and low exploitation probability are mitigating factors. |
| Exploit ScenarioDerived | An authenticated user of SourceCodester Sales and Inventory System 1.0 crafts a malicious HTTP GET request to /update_stock.php with a specially crafted sid parameter containing SQL metacharacters (e.g., sid=1 UNION SELECT ...), which the application concatenates unsafely into a database query. Publicly available exploit code documented at https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/SQLi-UpdateStock-sid.md demonstrates this attack, allowing the attacker to extract sensitive data from the inventory database or manipulate stock records. The low EPSS score suggests this remains theoretically exploitable but rarely weaponized in practice. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 25, 2026
SQL injection in SourceCodester Sales and Inventory System 1.0 allows authenticated remote attackers to manipulate the sid parameter in /update_stock.php via HTTP GET requests, enabling unauthorized database query execution with limited confidentiality and integrity impact. Publicly available exploit code exists, and the vulnerability carries a moderate CVSS 5.3 score with low real-world exploitation probability (EPSS 0.03%, percentile 8%), indicating this is a lower-priority issue despite public disclosure.
RemediationAI
No vendor-released patch has been identified at time of analysis; users should contact SourceCodester directly via https://www.sourcecodester.com/ to inquire about security updates or migrate to alternative inventory management systems if updates are unavailable. As an interim mitigation, restrict access to the application to trusted internal networks only, implement Web Application Firewall (WAF) rules to block SQL injection patterns in GET parameters (specifically targeting the sid parameter), enforce strong authentication mechanisms, and apply principle of least privilege to database service accounts used by the application to minimize damage if injection succeeds. Code-level remediation requires parameterized queries or prepared statements in the /update_stock.php file to neutralize SQL injection attacks.
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) in PHP code handling HTTP GET parameters. The /update_stock.php endpoint fails to properly sanitize or parameterize the sid argument before incorporating it into SQL queries, allowing attackers to inject arbitrary SQL syntax. SourceCodester Sales and Inventory System 1.0 (CPE: cpe:2.3:a:sourcecodester:sales_and_inventory_system:*:*:*:*:*:*:*:*) is a PHP-based inventory management application where the HTTP GET Parameter Handler component processes user-supplied input without adequate input validation or prepared statement usage, a fundamental secure coding failure in database-driven web applications.
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 determined in SourceCodester Sales and Inventory System 1.0. This vulnerability affects unknown code of the file /update_stock.php of the component HTTP GET Parameter Handler. This manipulation of the argument sid causes sql injection. Remote exploitation of the attack is possible. The exploit has been publicly disclosed and may be utilized. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Executive ViewAI
Organizations using A vulnerability should be aware of moderate risk from CVE-2026-4826, 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-16054
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB