Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | Despite the critical classification in the description, the CVSS 3.1 score of 7.3 (High, not Critical) and vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L provides important context: the vulnerability is network-accessible with low attack complexity and requires no privileges or user interaction, making it trivially exploitable. However, the score indicates partial (not complete) impact on confidentiality, integrity, and availability—suggesting limited scope rather than system-wide compromise. The public disclosure of exploitation details elevates real-world risk substantially. Without EPSS data or KEV confirmation, we assess this as HIGH PRIORITY due to: (1) public exploitability, (2) unauthenticated remote access, (3) SQL injection's proven track record in data breaches, and (4) likely widespread deployment of inventory management systems in small-to-medium businesses. The gap between 'critical' descriptor and CVSS 7.3 suggests the vulnerability may not achieve full system takeover but can reliably extract or modify business-critical inventory/financial data. |
| Exploit ScenarioDerived | An attacker discovers an instance of Campcodes Sales and Inventory System 1.0 running on a publicly accessible web server. The attacker crafts a malicious HTTP request to the cash_transaction.php endpoint with a payload such as: |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
CVE-2025-6312 is a critical SQL injection vulnerability in Campcodes Sales and Inventory System version 1.0, specifically in the /pages/cash_transaction.php file where the 'cid' parameter is insufficiently sanitized. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has been publicly disclosed with exploitation details available, making it actively exploitable in the wild.
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
This vulnerability is rooted in CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - 'Injection'), specifically manifesting as SQL injection (a subset of injection attacks). The affected application is Campcodes Sales and Inventory System 1.0, a web-based inventory management platform written in PHP. The vulnerability exists in the cash_transaction.php page handler, where user-supplied input from the 'cid' parameter is directly concatenated into SQL queries without proper parameterized statements or input validation. The application likely uses PHP with a database backend (MySQL/MariaDB or similar), and the lack of prepared statements or ORM protection allows an attacker to break out of the intended SQL context and inject arbitrary SQL commands.
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:N/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 has been found in Campcodes Sales and Inventory System 1.0 and classified as critical. This vulnerability affects unknown code of the file /pages/cash_transaction.php. The manipulation of the argument cid leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
A publicly disclosed SQL injection vulnerability in Campcodes Sales and Inventory System 1.0 allows remote attackers to compromise database integrity and potentially access sensitive business data without authentication. Organizations using this system face immediate risk of data breach, financial record tampering, and operational disruption until remediation is completed.
Within 24 hours: Isolate affected Campcodes instances from production networks or restrict network access to trusted users only; audit database access logs for suspicious activity. Within 7 days: Contact Campcodes for patch status and timeline; implement WAF rules to block SQL injection payloads targeting /pages/cash_transaction.php; conduct database integrity audit. Within 30 days: Deploy patched version or migrate to alternative inventory system; perform penetration testing to validate remediation.
Implement Web Application Firewall (WAF) rules to block SQL injection patterns in the cid parameter; restrict network access to /pages/cash_transaction.php via firewall rules to authorized IP ranges only; disable cash_transaction.php functionality if not operationally critical; implement database-level input validation and parameterized queries if source code access is available; enable enhanced database activity monitoring and alerting; apply principle of least privilege to database service accounts.
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-2025-18723
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB