Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid application credentials
-
DeliveryAuthenticate to Sales and Inventory System
-
ExploitNavigate to /pages/cust_edit.php
-
ExecutionSubmit crafted ID parameter with SQL payload
-
ImpactExtract or manipulate database records
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 network access to the web application and at minimum a low-privileged authenticated session (PR:L in the CVSS 4.0 vector), meaning the attacker must possess valid application credentials or have compromised a user account. The vulnerable endpoint is /pages/cust_edit.php and the specific injectable parameter is ID. No special non-default configuration is required beyond the application being reachable over the network with the customer edit feature accessible to the attacker's account role. Exploitation is limited by the authentication prerequisite - unauthenticated external attackers cannot directly trigger the vulnerability without first obtaining valid credentials. Impact is further bounded by the Low ratings across confidentiality, integrity, and availability, suggesting the SQL injection does not provide full database takeover or privilege escalation to the underlying OS. |
| Impact | The CVSS 4.0 score of 2.1 (Low) is notable for a network-reachable SQL injection: the suppressed score results from limited impact ratings across all three impact dimensions (VC:L/VI:L/VA:L) and the PR:L requirement, meaning exploitation is constrained to authenticated users. No EPSS score was provided in the input, and the vulnerability is not listed in CISA KEV, indicating no confirmed widespread active exploitation. However, a publicly available proof-of-concept exploit exists (GitHub issue linked via exploit reference), which the CVSS 4.0 supplemental metric E:P also acknowledges. The realistic risk profile is low: the product is niche tutorial code with minimal enterprise production deployment, the attacker must be authenticated, and the SQL injection's impact is bounded to low-severity data exposure and limited record manipulation. The low CVSS score is internally consistent with the input data - this is not a case of conflicting signals requiring reconciliation. |
| Exploit ScenarioDerived | An authenticated user of the Sales and Inventory System navigates to the customer edit page and submits a crafted value in the ID parameter - for example, appending a SQL UNION or boolean-based payload - causing the backend PHP script to pass unsanitized input to the database engine. The attacker can enumerate database tables, extract credential hashes or customer PII, or modify inventory and sales records. A public proof-of-concept demonstrating this technique is available at https://github.com/ltranquility/vuln_submit/issues/27. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
SQL injection in itsourcecode Sales and Inventory System 1.0 exposes the customer edit endpoint to database manipulation by authenticated network attackers who can control the ID parameter in /pages/cust_edit.php. The CVSS 4.0 base score of 2.1 reflects limited impact across confidentiality, integrity, and availability, though a public proof-of-concept exploit exists on GitHub. No active exploitation by CISA KEV has been confirmed; the low score and limited deployment footprint constrain real-world priority despite the public exploit.
RemediationAI
No vendor-released patch has been identified at time of analysis; itsourcecode distributes this as sample code and does not operate a formal security advisory channel. The primary fix for developers deploying this codebase is to replace any dynamic SQL string construction in /pages/cust_edit.php with PHP PDO or MySQLi prepared statements and bound parameters for the ID input, eliminating the injection surface entirely. As a compensating control, restrict access to /pages/cust_edit.php via web server configuration (e.g., require authenticated session validation at the application or reverse-proxy layer) to ensure only authorized users can reach the endpoint, reducing but not eliminating risk. Deploying a web application firewall (WAF) rule matching common SQL injection patterns on the ID parameter provides an additional detection and blocking layer, though WAF bypass is possible against determined attackers. Organizations running this code in production should treat it as unsupported and consider replacing it with maintained software. Reference: https://vuldb.com/vuln/394567.
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 - itsourcecode Sales and Inventory System 1.0 - distributed as sample/tutorial source code from itsourcecode.com. The CPE string cpe:2.3:a:itsourcecode:sales_and_inventory_system:*:*:*:*:*:*:*:* uses a wildcard version, indicating exact versioning beyond 1.0 is unconfirmed in NVD. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), meaning the application concatenates or interpolates user-supplied input - specifically the ID parameter - directly into a SQL query within /pages/cust_edit.php without parameterized queries or adequate sanitization. This is a classic, well-understood vulnerability class in PHP applications that lack prepared statement usage.
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
Network-reachable PHP endpoint but PR:L required; limited SQL injection impact across all three dimensions, no scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was detected in itsourcecode Sales and Inventory System 1.0. The impacted element is an unknown function of the file /pages/cust_edit.php. The manipulation of the argument ID results in sql injection. The attack can be executed 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 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-64721
GHSA-522q-26rg-w3gh
NVD
CVE.org
EPSS
VulDB
Exploit-DB