Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege application credentials
-
DeliveryAuthenticate to Sales and Inventory System
-
ExploitSubmit crafted ID parameter to /pages/us_searchfrm.php
-
ExecutionInject UNION/stacked SQL into mysqli_query()
-
ImpactEnumerate and exfiltrate database contents
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 low-privilege authenticated session on the Sales and Inventory System 1.0 instance - the CVSS 4.0 PR:L metric confirms credentials are mandatory. The attacker must be able to reach /pages/us_searchfrm.php over the network (AV:N). No special configuration beyond a default installation is required once authenticated; the vulnerable mysqli_query() call is unconditionally reachable via the search form's ID parameter. Exploitation is limited to contexts where the attacker has already obtained any valid user account, either through credential theft, brute force, or legitimate access (e.g., insider threat). There is no scope change - impact is confined to the application's own database. |
| Impact | The provided CVSS 4.0 score of 5.3 with vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P reflects a moderate, real-world exploitable issue. The PR:L metric is a meaningful limiter - attackers must first obtain a low-privilege account before exploiting the injection, which meaningfully reduces the attack surface compared to unauthenticated SQLi. No KEV listing exists, so active exploitation at scale is not confirmed. However, a public exploit on GitHub (E:P) makes this trivially repeatable by any attacker who can register or obtain credentials. The low C/I/A impact metrics suggest limited per-query damage - typical SQLi enumeration rather than direct OS-level compromise. The primary risk is credential or business-data theft from the underlying database. EPSS data is not provided but would likely be low-to-medium given the niche product footprint. |
| Exploit ScenarioDerived | An attacker with a low-privilege account (e.g., a registered sales clerk) navigates to the /pages/us_searchfrm.php search form and submits a crafted ID value containing SQL metacharacters such as a UNION SELECT payload. The unsanitized parameter is passed directly to mysqli_query(), allowing the attacker to enumerate database tables, extract user credentials or business records, and potentially issue INSERT/UPDATE statements. The published GitHub proof-of-concept reduces the skill bar to near-zero for credential-holding insiders or external attackers who have obtained any account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
SQL injection in itsourcecode Sales and Inventory System 1.0 allows remote authenticated attackers with low-privilege accounts to manipulate the ID argument passed to mysqli_query() in /pages/us_searchfrm.php, enabling database enumeration, data exfiltration, and potential data modification. A public exploit has been published on GitHub, corroborated by VulDB reporting. The CVSS 4.0 vector (PR:L, E:P) confirms authentication is required but that exploit code is in circulation, lowering the bar for opportunistic abuse.
RemediationAI
No vendor-released patch has been identified at time of analysis - the CPE wildcard and absence of a fix advisory confirm this. The itsourcecode.com platform publishes educational source code and does not maintain a security advisory process; a patched release is not independently confirmed. Organizations running this system in any production-adjacent capacity should immediately replace all dynamic SQL concatenation in /pages/us_searchfrm.php with parameterized queries (PHP PDO or MySQLi prepared statements), which eliminates the injection vector at the root. As an interim control, restrict access to the /pages/us_searchfrm.php endpoint via web server ACLs to trusted IP ranges only, reducing exposure while code fixes are applied. Monitor database query logs for anomalous UNION, OR 1=1, or SLEEP() patterns as detection indicators.
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 sales and inventory management system distributed by itsourcecode, a platform that publishes tutorial/academic source code. The vulnerability is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), a classic SQL injection root cause. The vulnerable endpoint /pages/us_searchfrm.php passes a user-controlled ID parameter directly into a mysqli_query() call without adequate sanitization or parameterized query use. CPE cpe:2.3:a:itsourcecode:sales_and_inventory_system:*:*:*:*:*:*:*:* covers version 1.0 and the wildcard suggests no patched version has been registered.
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 SQLi requires low-privilege auth (PR:L); limited C/I/A impact per CVSS 4.0 VC:L/VI:L/VA:L; no scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A flaw has been found in itsourcecode Sales and Inventory System 1.0. The impacted element is the function mysqli_query of the file /pages/us_searchfrm.php. Executing a manipulation of the argument ID can lead to sql injection. It is possible to launch the attack remotely. The exploit has been published 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-72640
GHSA-76pv-2w76-2r7v
NVD
CVE.org
EPSS
VulDB
Exploit-DB