Skip to main content

Stock Management System EUVDEUVD-2026-59838

| CVE-2026-19925 LOW
SQL Injection (CWE-89)
2026-08-16 VulDB GHSA-5xrw-wm8f-vm47
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain high-privilege admin credentials
  2. Delivery
    Authenticate to Stock Management System
  3. Exploit
    Send crafted HTTP request to /classes/Master.php?f=delete_supplier
  4. Execution
    Inject SQL payload via id parameter
  5. Persist
    Execute arbitrary database queries
  6. Impact
    Exfiltrate or corrupt supplier data

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.

Exploitation Conditions

Exploitation requires a valid authenticated session with high-privilege access to the Stock Management System's admin panel, consistent with PR:H in the CVSS 4.0 vector. The vulnerable endpoint /classes/Master.php?f=delete_supplier must be reachable over the network (AV:N). No special non-default configuration is required beyond the attacker holding a high-privilege account. Limiting factors: the PR:H requirement is the critical gating control - unauthenticated attackers cannot reach this vulnerability without first compromising admin credentials. Exploitation is also limited to environments where the Stock Management System is deployed and network-accessible. No user interaction is required once authenticated.

Impact

The CVSS 4.0 base score of 2.0 accurately reflects the constrained real-world risk: the vector PR:H confirms that exploitation requires a high-privilege authenticated session, which is a significant limiting factor. The attack complexity is low (AC:L, AT:N), meaning once authenticated, no further bypass is needed. Impact is graded Low across confidentiality, integrity, and availability (VC:L/VI:L/VA:L), with no subsequent-system impact (SC:N/SI:N/SA:N). The CVSS 4.0 supplemental metric E:P confirms a publicly available exploit, which lowers the skill bar for authenticated insiders or attackers who have already compromised admin credentials. No EPSS data was provided and the CVE is not listed in CISA KEV, indicating no confirmed widespread active exploitation. In practice, the primary threat model is a malicious or compromised administrator exfiltrating or corrupting supplier data - not an unauthenticated remote attacker.

Exploit ScenarioDerived

An attacker who has obtained valid high-privilege administrator credentials - whether through phishing, credential stuffing, or lateral movement - navigates to the supplier deletion endpoint and submits a crafted HTTP request with a malicious id parameter such as 1 UNION SELECT username,password,3 FROM users--. The unsanitized value is executed directly by the database, allowing the attacker to exfiltrate credential hashes or manipulate supplier records. A working proof-of-concept is publicly available on GitHub, reducing the technical skill required for this step.

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

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

Alert me

AnalysisAIv1 – Aug 16, 2026

SQL injection in SourceCodester Stock Management System 1.0 exposes the /classes/Master.php?f=delete_supplier endpoint to database manipulation by authenticated high-privileged users. The id parameter is passed unsanitized to the backend SQL query, enabling an attacker to read, modify, or delete database records. A publicly available exploit exists on GitHub, though exploitation is bounded by the high-privilege authentication requirement and the CVSS 4.0 base score of 2.0 reflects limited real-world blast radius. No active exploitation (CISA KEV) has been confirmed.

RemediationAI

No vendor-released patch has been identified at time of analysis. SourceCodester distributes this application as a free PHP script primarily for educational use, and formal patch cycles are not guaranteed. The primary fix is to replace direct SQL string concatenation in /classes/Master.php with parameterized queries using PHP PDO prepared statements or MySQLi with bound parameters for the id parameter in the delete_supplier function. As a compensating control, enforce strict server-side input validation on the id parameter to accept only integer values, rejecting any non-numeric input before it reaches the database layer. Additionally, restrict access to the /classes/Master.php endpoint at the web server or application firewall level to only legitimately authenticated admin sessions. Given this application is intended for learning environments, organizations running it in any internet-facing or multi-user context should evaluate whether deployment is appropriate without a security review. See VulDB entry https://vuldb.com/vuln/390175 and the public exploit at https://github.com/miku01leon/CVE/issues/5 for technical detail.

Affected VersionsENISA

Stock Management System 1.0

Affected Packages

euvd stock_management_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 affected product is a PHP-based web application distributed by SourceCodester (CPE: cpe:2.3:a:sourcecodester:stock_management_system:*:*:*:*:*:*:*:*). The vulnerability is rooted in CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The id parameter supplied to the delete_supplier function in /classes/Master.php is concatenated directly into a SQL DELETE statement without parameterization or input validation. This is a classic unsanitized user-input-to-SQL pattern common in legacy PHP codebases that do not use prepared statements or PDO with bound parameters.

Know when Stock Management 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

Vendor (VulDB) PRIMARY 2.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 4.7 MEDIUM

Network-reachable endpoint but PR:H required; low CIA impact as SQL injection affects only application data scope.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
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

3
Severity Changed
Aug 16, 2026 - 02:22 NVD
MEDIUM LOW
CVSS changed
Aug 16, 2026 - 02:22 NVD
5.1 (MEDIUM) 2.0 (LOW)
CVE Published
Aug 16, 2026 - 01:30 cve.org
LOW 2.0

DescriptionCVE.org

A vulnerability was detected in SourceCodester Stock Management System 1.0. This issue affects some unknown processing of the file /classes/Master.php?f=delete_supplier. The manipulation of the argument ID results in sql injection. The attack may be launched remotely. The exploit is now public and may be used.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Rare
free academic PHP script, negligible enterprise production footprint
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.2%
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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
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-2024-36779 CRITICAL POC
9.8 Jun 06

Sourcecodester Stock Management System v1.0 is vulnerable to SQL Injection via editCategories.php. Rated critical severi

CVE-2022-4088 CRITICAL POC
9.8 Nov 24

A vulnerability was found in rickxy Stock Management System and classified as critical. Rated critical severity (CVSS 9.

CVE-2020-24197 CRITICAL POC
9.8 Sep 09

A SQL injection vulnerability in the login component in Stock Management System v1.0 allows remote attacker to execute a

CVE-2022-4090 HIGH POC
8.8 Nov 24

A vulnerability was found in rickxy Stock Management System and classified as problematic.php?action=add. Rated high sev

CVE-2020-23830 HIGH POC
7.1 Sep 02

A Cross-Site Request Forgery (CSRF) vulnerability in changeUsername.php in SourceCodester Stock Management System v1.0 a

CVE-2025-4283 MEDIUM POC
6.9 May 05

A vulnerability was found in SourceCodester/oretnom23 Stock Management System 1.0 and classified as critical.php?f=login

CVE-2024-5774 MEDIUM POC
6.9 Jun 09

A vulnerability has been found in SourceCodester Stock Management System 1.0 and classified as critical. Rated medium se

CVE-2020-24198 MEDIUM POC
6.1 Sep 09

A persistent cross-site scripting vulnerability in Sourcecodester Stock Management System v1.0 allows remote attackers t

CVE-2020-23831 MEDIUM POC
6.1 Sep 01

A Reflected Cross-Site Scripting (XSS) vulnerability in the index.php login-portal webpage of SourceCodester Stock Manag

CVE-2025-14567 MEDIUM POC
5.5 Dec 12

Missing authentication for the /api/employees endpoint in haxxorsid Stock Management System lets remote attackers retrie

CVE-2024-0958 MEDIUM POC
5.4 Jan 27

A vulnerability was found in CodeAstro Stock Management System 1.0 and classified as problematic.php of the component Ad

CVE-2022-4089 MEDIUM POC
5.4 Nov 24

A vulnerability was found in rickxy Stock Management System. Rated medium severity (CVSS 5.4), this vulnerability is rem

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