Skip to main content

Sales And Inventory System EUVDEUVD-2025-21264

| CVE-2025-7535 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-13 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

This vulnerability presents HIGH real-world risk despite a moderate CVSS 7.3 score. Risk signal analysis: (1) CVSS 7.3 with AV:N/AC:L/PR:N/UI:N indicates network-accessible, low-complexity, unauthenticated exploitation—maximum attack surface; (2) Public POC disclosure dramatically increases practical exploitability probability; (3) SQL injection is highly automatable and requires no user interaction; (4) The technical impact is severe: confidentiality, integrity, and availability all rated as impacted (C:L/I:L/A:L in CVSS); (5) SSVC framework would classify this as IMMEDIATE: exploitation is already public, automation is trivial, technical impact includes data breach and system compromise. Unlike many 7.3 scores that are inflated, this one reflects genuine operational risk. Organizations running version 1.0 should prioritize patching immediately.

Exploit ScenarioDerived

An attacker discovers a public facing Campcodes Sales and Inventory System 1.0 instance. They craft a request to http://target.com/pages/reprint_cash.php?sid=1' UNION SELECT user(),database(),version()-- and observe error messages or exfiltrated data revealing database structure. With this information, they execute: sid=1' UNION SELECT group_concat(username,':',password),2,3 FROM users-- to dump credential hashes. Given AC:L and PR:N (no authentication required), the attacker needs only basic HTTP client knowledge. The POC is likely a simple curl/python script automating this process. No user interaction is required, making this exploitable at scale against any unpatched instance exposed to the internet. Real-world impact could include theft of sales records, customer data, financial information, and complete system compromise via stacked queries (UPDATE/DELETE).

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

AnalysisAI

CVE-2025-7535 is a critical SQL injection vulnerability in Campcodes Sales and Inventory System version 1.0, located in the /pages/reprint_cash.php file's 'sid' parameter. 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 exploits available, making it an immediate threat to deployed instances.

RemediationAI

{'type': 'patch', 'recommendation': 'Upgrade Campcodes Sales and Inventory System beyond version 1.0. Check vendor website (campcodes.com or official repository) for patched version release. Version 1.0 is legacy; patches may be available as 1.1 or 2.0.', 'priority': 'CRITICAL'} {'type': 'immediate_workaround', 'steps': ['Disable or restrict access to /pages/reprint_cash.php at the web server level (firewall rule, Apache/Nginx configuration) until patch is applied', "Implement Web Application Firewall (WAF) rules to block SQL injection patterns in the 'sid' parameter (e.g., detecting single quotes, UNION, SELECT keywords)", "Implement input validation: whitelist alphanumeric characters only for 'sid' parameter; reject any special characters"]} {'type': 'defensive_coding_fix', 'steps': ['Replace direct SQL concatenation with parameterized queries (prepared statements) using mysqli or PDO with bound parameters', "Example: Use $stmt = $mysqli->prepare('SELECT * FROM sales WHERE sid = ?'); $stmt->bind_param('s', $sid); instead of string interpolation", 'Implement output encoding/escaping for any reflected data']} {'type': 'detection_and_monitoring', 'steps': ['Enable SQL error logging to detect injection attempts', 'Monitor /pages/reprint_cash.php access logs for suspicious patterns (URL encoding anomalies, SQL keywords)', 'Implement database activity monitoring (DAM) to detect unusual query patterns']}

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

The vulnerability is rooted in CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component, also known as 'Injection'), specifically SQL injection. The vulnerable code in /pages/reprint_cash.php fails to properly sanitize or parameterize the 'sid' (likely Session ID or Sales ID) parameter before using it in SQL queries. Campcodes Sales and Inventory System is a PHP-based web application (implied by .php file extension) that manages sales transactions and inventory. The lack of input validation allows attackers to inject malicious SQL syntax directly into database queries. The affected CPE would be: cpe:2.3:a:campcodes:sales_and_inventory_system:1.0:*:*:*:*:*:*:*

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 16, 2025 - 14:55 vuln.today
Public exploit code
CVE Published
Jul 13, 2025 - 18:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability was found in Campcodes Sales and Inventory System 1.0. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /pages/reprint_cash.php. The manipulation of the argument sid leads to sql injection. The attack can be launched 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 database queries through the reprint_cash.php file. Organizations using this system face immediate risk of unauthorized data access, modification, or deletion of financial and inventory records without requiring authentication.

Business Impact: High
Compensating Controls

Deploy Web Application Firewall (WAF) rules to detect and block SQL injection attempts targeting the sid parameter; restrict network access to /pages/reprint_cash.php via IP whitelisting; disable the reprint_cash.php functionality if operationally feasible; implement database-level access controls and read-only permissions for application service accounts; enable comprehensive logging and monitoring of all database queries from the application; apply rate limiting to the vulnerable endpoint.

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% 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