Skip to main content

Sales And Inventory System EUVDEUVD-2025-18723

| CVE-2025-6312 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-06-20 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

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 /pages/cash_transaction.php?cid=1' UNION SELECT user(), database(), version()-- . The unvalidated 'cid' parameter is directly embedded into a SQL query like SELECT * FROM cash_transactions WHERE id='1' UNION SELECT user(), database(), version()--', causing the database to execute the injected UNION clause. The attacker successfully extracts the database user, database name, and MySQL version. With this information, the attacker escalates the attack to extract sensitive tables (customers, transactions, pricing) or modifies inventory counts to cause business disruption. Because the endpoint requires no authentication and the vulnerability is publicly known, exploitation occurs within hours of deployment or patch awareness.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Sales and Inventory System 1.0

Affected Packages

euvd sales_and_inventory_system no fix

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

NVD PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
PoC Detected
Jul 11, 2025 - 15:50 vuln.today
Public exploit code
CVE Published
Jun 20, 2025 - 06:15 nvd
HIGH 7.3

DescriptionCVE.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

Why It Matters

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.

Recommended Action

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 81% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2021-25202 CRITICAL POC
9.8 Jul 22

SQL injection vulnerability in SourceCodester Sales and Inventory System v 1.0 allows remote attackers to execute arbitr

CVE-2025-4815 MEDIUM POC
6.9 May 17

A vulnerability was found in Campcodes Sales and Inventory System 1.0 and classified as critical. Rated medium severity

CVE-2025-4503 MEDIUM POC
6.9 May 10

A vulnerability was found in Campcodes Sales and Inventory System 1.0 and classified as critical.php. Rated medium sever

CVE-2025-4502 MEDIUM POC
6.9 May 10

A vulnerability has been found in Campcodes Sales and Inventory System 1.0 and classified as critical. Rated medium seve

CVE-2026-30556 MEDIUM POC
6.1 Mar 30

Reflected cross-site scripting (XSS) in SourceCodester Sales and Inventory System 1.0 allows remote attackers to inject

CVE-2026-78171 MEDIUM POC
5.5 Aug 24

SQL injection in itsourcecode Sales and Inventory System 1.0 exposes the login endpoint to unauthenticated remote exploi

CVE-2025-4734 MEDIUM POC
5.5 May 16

A vulnerability, which was classified as critical, was found in Campcodes Sales and Inventory System 1.0. Rated medium s

CVE-2025-7538 MEDIUM POC
5.5 Jul 13

CVE-2025-7538 is a critical unrestricted file upload vulnerability in Campcodes Sales and Inventory System version 1.0,

CVE-2025-7933 MEDIUM POC
5.5 Jul 21

SQL injection in Campcodes Sales and Inventory System 1.0 allows remote attackers to execute arbitrary SQL commands via

CVE-2025-6311 MEDIUM POC
5.5 Jun 20

CVE-2025-6311 is a critical SQL injection vulnerability in Campcodes Sales and Inventory System version 1.0 affecting th

CVE-2025-7470 MEDIUM POC
5.5 Jul 12

A security vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.

CVE-2025-7183 MEDIUM POC
5.5 Jul 08

SQL injection in Campcodes Sales and Inventory System 1.0 allows remote unauthenticated attackers to inject malicious SQ

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy