Skip to main content

Sales And Inventory System CVE-2025-6313

| EUVDEUVD-2025-18728 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

The CVSS v3.1 score of 7.3 (High) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L indicates this is a network-exploitable vulnerability requiring no privileges or user interaction, making it highly accessible. The Low complexity and complete lack of authentication requirements significantly elevate real-world risk. The public disclosure of exploit code and confirmation that the vulnerability 'may be used' suggests active exploitation is probable. For SSVC decision framework: exploitation status is 'Proof-of-Concept Available,' technical impact is 'Partial,' and automatable exploitation is 'yes' (SQL injection is trivial to automate). This creates a 'remediate' priority designation. While CVSS only assigns 'Partial' impact to confidentiality, integrity, and availability (not 'Complete'), SQL injection in inventory systems can enable complete data exfiltration, modification, or deletion depending on database permissions—real-world impact may exceed CVSS assessment. Organizations using this system should treat this as critical.

Exploit ScenarioDerived

An attacker discovers a Campcodes Sales and Inventory System 1.0 deployment and crafts a simple HTTP POST/GET request to /pages/cat_add.php with a malicious SQL injection payload in the Category parameter, such as: Category=Test' OR '1'='1' UNION SELECT user(), database(), version()--. Due to the absence of input validation and the use of direct SQL concatenation, the injected SQL executes in the context of the application's database user. The attacker can then: (1) enumerate database structure and credentials, (2) extract sensitive inventory, customer, or financial data, (3) modify or delete product/pricing information, causing business disruption, or (4) potentially escalate to remote code execution if the database user has FILE privileges. Because PR:N (no authentication required) and AC:L (low attack complexity), the attacker requires only network access and can automate this exploitation at scale. A proof-of-concept exploit is publicly available, enabling non-sophisticated actors to weaponize this vulnerability.

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-6313 is a critical SQL injection vulnerability in Campcodes Sales and Inventory System version 1.0, affecting the /pages/cat_add.php endpoint where the 'Category' parameter is improperly sanitized. An unauthenticated remote attacker can exploit this to execute arbitrary SQL queries, potentially compromising data confidentiality, integrity, and availability. The vulnerability has been publicly disclosed with exploit code available and may be actively exploited in the wild.

RemediationAI

Immediate Mitigation: Implement input validation and parameterized queries in /pages/cat_add.php. Replace all SQL concatenation with prepared statements using parameterized placeholders (e.g., MySQLi prepared statements or PDO prepared queries). Code Fix Example: Change from: $query = "SELECT * FROM categories WHERE name = '" . $_POST['Category'] . "'"; To: $stmt = $pdo->prepare('SELECT * FROM categories WHERE name = ?'); $stmt->execute([$_POST['Category']]) Input Validation: Implement strict input validation: whitelist allowed characters for Category field, enforce length limits, and reject unexpected input patterns before database processing. Vendor Patch: Monitor Campcodes official channels for version 1.1 or later security patches. No patch version is currently documented; contact vendor for emergency security update. Web Application Firewall: Deploy WAF rules to detect and block SQL injection patterns in the Category parameter (detect common SQL keywords: UNION, SELECT, DROP, etc.). Database Hardening: Restrict database user permissions used by the application to minimum required privileges; disable stored procedure execution if not needed. Access Control: Restrict access to /pages/cat_add.php via IP whitelisting or authentication until patch is applied.

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 represents a classic SQL injection flaw (CWE-74: Improper Neutralization of Special Elements used in an SQL Command) in a PHP-based inventory management application. The /pages/cat_add.php file fails to properly validate or parameterize user input from the 'Category' parameter before incorporating it into SQL queries. The underlying issue stems from direct string concatenation of user-supplied input into SQL statements rather than using prepared statements or parameterized queries. CPE specification: cpe:2.3:a:campcodes:sales_and_inventory_system:1.0:*:*:*:*:*:*:* — this affects the Campcodes Sales and Inventory System product line at version 1.0 and potentially earlier/later versions if similarly coded.

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:51 vuln.today
Public exploit code
CVE Published
Jun 20, 2025 - 07:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability was found in Campcodes Sales and Inventory System 1.0 and classified as critical. This issue affects some unknown processing of the file /pages/cat_add.php. The manipulation of the argument Category leads to sql injection. The attack may 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 manipulate the category input field, potentially enabling unauthorized database access, data exfiltration, or system compromise. Organizations using this system face immediate risk of data breach and operational disruption, particularly if the system processes sensitive inventory or financial data.

Business Impact: High
Compensating Controls

Deploy WAF rules blocking SQL metacharacters (single quotes, semicolons, SQL keywords) in the Category parameter; implement network segmentation to restrict database access from the application server; disable the /pages/cat_add.php functionality if unused; enforce principle of least privilege on database accounts used by the application; enable detailed logging and monitoring of database queries from this application; consider deploying an application-level input validation bypass through reverse proxy configuration.

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