Skip to main content

Sales And Inventory System CVE-2026-4781

| EUVDEUVD-2026-15033 LOW
SQL Injection (CWE-89)
2026-03-24 VulDB GHSA-923r-23pf-6337
2.1
CVSS 4.0 · NVD
View

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

The CVSS v3.1 score of 6.3 reflects a medium severity with network accessibility (AV:N) and low attack complexity (AC:L), requiring only low privileges (PR:L) and no user interaction (UI:N). The CVSS vector indicates confidentiality, integrity, and availability impacts at low severity per component. The Exploit maturity rating (E:P) and reproducibility rating (RC:R) indicate publicly available working exploits with confirmed reproducibility. The presence of a public GitHub proof-of-concept significantly elevates real-world risk despite the medium CVSS score, as the exploit is weaponized and trivial to execute. This is not a high-CVSS-but-low-risk scenario; rather, it is a moderate-severity flaw with high exploitability and active public disclosure, making it a genuine priority for organizations running affected versions. The requirement for low privileges reduces the threat surface but does not eliminate it in environments where multiple users have application access.

Exploit ScenarioDerived

An authenticated attacker with low-privilege access to the Sales and Inventory System crafts a malicious HTTP GET request to update_purchase.php containing a SQL injection payload in the 'sid' parameter, such as 'sid=1 OR 1=1--' or 'sid=1; DROP TABLE purchases;--'. Because the parameter is not sanitized before being inserted into the SQL query, the attacker's injected SQL commands execute with the database privileges of the application, allowing them to extract sensitive purchase records, modify transaction data, or disrupt system availability. The public proof-of-concept on GitHub provides ready-made payloads, making exploitation trivial for any attacker with network access and valid application credentials.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 24, 2026

SQL injection in SourceCodester Sales and Inventory System 1.0 allows authenticated remote attackers to manipulate the sid parameter in update_purchase.php, enabling unauthorized database queries and potential data exfiltration. Public exploit code exists for this vulnerability, and no patch is currently available.

Earlier versions of this analysis (1)
v1 Mar 24, 2026 - 23:31 CVSS 5.3

A SQL injection vulnerability exists in SourceCodester Sales and Inventory System version 1.0 within the update_purchase.php file, specifically in the HTTP GET parameter handler where the 'sid' argument is not properly sanitized. Remote attackers with low privileges can exploit this flaw to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion. A proof-of-concept exploit has been publicly disclosed on GitHub, and exploitation is considered probable based on CVSS metric indicators.

RemediationAI

Immediately upgrade SourceCodester Sales and Inventory System to a patched version beyond 1.0 if available from https://www.sourcecodester.com/. If a patched version is unavailable or deployment cannot be immediately updated, implement the following interim controls: enforce parameterized prepared statements or stored procedures for all database queries, validate and sanitize all HTTP GET parameters using whitelist-based input validation, apply PHP input filtering functions such as filter_var() or use an ORM framework that handles SQL escaping automatically, and restrict network access to the application to trusted IP ranges only. Additionally, implement Web Application Firewall (WAF) rules to detect and block SQL injection attempts on the update_purchase.php endpoint, and conduct a thorough database audit to detect any unauthorized access or data modification that may have occurred.

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 stems from CWE-89 (SQL Injection), a classic input validation failure where user-supplied data from HTTP GET parameters is directly concatenated into SQL queries without proper escaping or parameterized query preparation. The affected component is written in PHP and handles the 'sid' parameter in the update_purchase.php file. The CPE identifier cpe:2.3:a:sourcecodester:sales_and_inventory_system indicates this is a PHP-based web application framework. The root cause is the absence of input validation and the use of unsafe string concatenation in SQL query construction, allowing attackers to break out of the intended query 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 2.1 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
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
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:11 NVD
5.3 (MEDIUM) 2.1 (LOW)
PoC Detected
Apr 07, 2026 - 18:23 vuln.today
Public exploit code
CVE Published
Mar 24, 2026 - 23:11 nvd
MEDIUM 5.3

DescriptionCVE.org

A flaw has been found in SourceCodester Sales and Inventory System 1.0. The affected element is an unknown function of the file update_purchase.php of the component HTTP GET Parameter Handler. Executing a manipulation of the argument sid can lead to sql injection. The attack may be performed from remote. The exploit has been published and may be used.

Executive ViewAI

Why It Matters

Organizations using A flaw should be aware of moderate risk from CVE-2026-4781, 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.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
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