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 v3.1 score of 6.3 (Medium) indicates moderate impact, the real-world risk is elevated by multiple exploitation signals. The CVSS vector shows network-accessible attack surface (AV:N), low complexity (AC:L), and low privilege requirements (PR:L)—meaning any authenticated user can exploit it. The exploit evidence metric (E:P) and reproducible rating (RC:R) confirm public availability and reliable reproducibility. The absence of KEV (Known Exploited Vulnerability) status in the CVE record does not diminish risk, as public GitHub POCs are widely available. The limited impact scope (S:U) and confidentiality/integrity/availability impact all rated 'L' suggest this is not a critical database takeover scenario, but rather a data exfiltration and modification risk. For organizations running Sales and Inventory System 1.0, this represents a high-priority remediation issue due to proof-of-concept availability and the likelihood of automated scanning and exploitation, particularly in supply chain compromises targeting small businesses. |
| Exploit ScenarioDerived | An attacker with valid credentials logs into the Sales and Inventory System and crafts a malicious GET request to /update_sales.php?sid=1' OR '1'='1 (or similar SQL injection payloads), which bypasses the intended query logic and allows unauthorized database record enumeration or modification. A public GitHub POC demonstrates the specific payload structure and exploitation steps, making this accessible to opportunistic threat actors. The attacker could systematically extract customer, product, or financial data without triggering administrative alerts, or silently modify sales records to mask inventory theft or financial fraud. |
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 via the sid parameter in /update_sales.php allows authenticated remote attackers to execute arbitrary SQL queries and potentially access or modify database contents. Public exploit code exists for this vulnerability and exploitation requires valid user credentials. No patch is currently available.
Earlier versions of this analysis (1)
A SQL injection vulnerability exists in SourceCodester Sales and Inventory System 1.0 affecting the /update_sales.php endpoint, where the HTTP GET parameter 'sid' is insufficiently sanitized before use in database queries. An authenticated attacker can remotely exploit this flaw to read, modify, or delete sensitive database records without elevated privileges. A proof-of-concept exploit has been publicly disclosed on GitHub, significantly increasing real-world risk, though the vulnerability requires valid login credentials (PR:L) to execute.
RemediationAI
Immediately upgrade SourceCodester Sales and Inventory System to a patched version if available from the vendor at https://www.sourcecodester.com/; if no patch is available, consider discontinuing use of this software or restricting network access to trusted IP ranges via firewall rules and require VPN authentication before accessing the application. As an urgent interim mitigation, implement Web Application Firewall (WAF) rules to block SQL injection patterns in the 'sid' parameter, enforce strong authentication (multi-factor authentication) for all user accounts, and apply principle of least privilege by restricting database user permissions to SELECT-only where possible. Enable comprehensive SQL query logging and set up alerts for suspicious database access patterns. Conduct a forensic audit of access logs from deployment date to present to identify potential unauthorized data 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) within a PHP-based web application. The affected component is the HTTP GET Parameter Handler processing the 'sid' argument in /update_sales.php, which constructs SQL queries without proper parameterized statements or input validation. SourceCodester Sales and Inventory System 1.0, identified via CPE (cpe:2.3:a:sourcecodester:sales_and_inventory_system:1.0:*:*:*:*:*:*:*), is a lightweight inventory management application commonly deployed in small business environments. The absence of prepared statements or output encoding allows attackers to inject arbitrary SQL commands through the 'sid' parameter, enabling unauthorized data access or manipulation.
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 found in SourceCodester Sales and Inventory System 1.0. This affects an unknown part of the file /update_sales.php of the component HTTP GET Parameter Handler. The manipulation of the argument sid results in sql injection. The attack may be launched remotely. The exploit has been made public and could be used.
Executive ViewAI
Organizations using A vulnerability should be aware of moderate risk from CVE-2026-4825, 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-16024
GHSA-phg7-w8vm-9cqf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB