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 6.3 score indicates medium severity with network accessibility (AV:N), low attack complexity (AC:L), and low privilege requirements (PR:L), multiple real-world risk signals elevate concern. The CVSS vector shows partial impact on confidentiality, integrity, and availability (C:L/I:L/A:L), and the evidence rating (E:P) confirms public exploit availability. The EPSS score and KEV (Known Exploited Vulnerability) status indicate this vulnerability is demonstrably exploitable in the wild. The primary mitigating factor is that authentication is required (PR:L), limiting the attack surface to existing users; however, in many small business environments where this inventory system is deployed, user credentials are often shared or poorly managed. The combination of public POC availability, authenticated attack vector, and widespread use in SMB deployments creates a moderate-to-high practical risk that justifies prioritization despite not reaching 'critical' CVSS thresholds. |
| Exploit ScenarioDerived | An authenticated user with valid credentials logs into the Sales and Inventory System and navigates to the category search feature. Instead of entering a normal search term in the searchtxt field, the attacker submits a POST request with a SQL injection payload such as: searchtxt=test' UNION SELECT username, password FROM users--. The unsanitized parameter is directly embedded in the application's SQL query, allowing the attacker to extract user credentials, enumerate database structure, or modify inventory records. A publicly available proof-of-concept demonstrating this exact attack vector is documented on GitHub (https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/SQLi-ViewCategory-searchtxt.md), reducing the barrier to exploitation for malicious insiders or competitors with access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 23, 2026
SourceCodester Sales and Inventory System 1.0 contains a SQL injection vulnerability in the /view_category.php endpoint's searchtxt parameter that allows authenticated attackers to execute arbitrary SQL queries and potentially access or modify sensitive data. Public exploit code exists for this vulnerability, and there is currently no available patch. The attack requires valid credentials but can be executed remotely over the network.
Earlier versions of this analysis (1)
A SQL injection vulnerability exists in SourceCodester Sales and Inventory System version 1.0 within the /view_category.php file's HTTP POST request handler, specifically in the searchtxt parameter. An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands, potentially leading to unauthorized data disclosure, modification, or denial of service. A public proof-of-concept exploit is available on GitHub, and exploitation requires only low privileges (authenticated user access) with no user interaction, making this a practical threat despite the moderate CVSS 6.3 score.
RemediationAI
The primary remediation is to upgrade SourceCodester Sales and Inventory System to a patched version if available from https://www.sourcecodester.com/, or to apply any vendor-released security patches to version 1.0. If upgrading is not immediately feasible, implement input validation and parameterized queries (prepared statements) in the /view_category.php file to sanitize the searchtxt parameter before it is used in any SQL statement. Additionally, restrict access to the application to trusted internal networks via firewall rules or VPN, enforce the principle of least privilege by granting database accounts only necessary permissions (avoid using 'sa' or administrative database accounts), and implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in POST requests to /view_category.php. Monitor database query logs for suspicious activity and consider running the application in a read-only mode if inventory queries do not require write access.
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 CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), a classic SQL injection flaw where user-supplied input from the searchtxt POST parameter is directly concatenated into SQL queries without proper parameterization or input validation. The affected application is built in PHP and uses the Sales and Inventory System framework (CPE: cpe:2.3:a:sourcecodester:sales_and_inventory_system:1.0). The /view_category.php component handles HTTP POST requests but fails to implement prepared statements or parameterized queries, allowing attackers to break out of the intended SQL syntax and inject malicious SQL commands that execute within the database context of the application.
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 impacts an unknown function of the file /view_category.php of the component HTTP POST Request Handler. This manipulation of the argument searchtxt causes sql injection. Remote exploitation of the attack is possible. The exploit has been publicly disclosed and may be utilized.
Executive ViewAI
Organizations using A vulnerability should be aware of moderate risk from CVE-2026-4569, 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-14353
GHSA-ch6q-jx4x-vgh2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB