Description
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.
Published: 2026-08-16
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A SQL injection vulnerability exists in the delete_supplier functionality of SourceCodester Stock Management System 1.0. By manipulating the ID argument, an attacker can inject arbitrary SQL into the backend query. The flaw is classified as CWE‑74 (Improper Neutralization of Input) and CWE‑89 (Improper Neutralization of Special Elements used in an SQL Command).

Affected Systems

The affected product is SourceCodester Stock Management System 1.0, an open‑source inventory application. Any installation of this version that exposes the /classes/Master.php?f=delete_supplier endpoint is potentially vulnerable. The issue is present in the vendor’s released code and does not depend on additional configuration beyond exposing the endpoint.

Risk and Exploitability

The CVSS score of 5.1 indicates a medium severity. The EPSS score is not available, so the likelihood of exploitation remains unknown. The vulnerability is not listed in the CISA KEV catalog. Attackers can launch the exploit remotely by sending a crafted request to the delete_supplier endpoint with a malicious ID value. No prerequisite authentication is described, so the flaw could be abused by unauthenticated users if the endpoint is publicly accessible.

Generated by OpenCVE AI on August 16, 2026 at 04:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Validate and sanitize the ID parameter before incorporating it into SQL queries, ensuring that only numeric values are accepted or, preferably, using prepared statements.
  • If an official patch or update is available, apply it immediately.
  • Restrict access to the delete_supplier endpoint by enforcing authentication or limiting it to trusted IP ranges.
  • Reduce the risk of damage by restricting the database user used by the application to the minimum privileges required for normal operation.

Generated by OpenCVE AI on August 16, 2026 at 04:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 16 Aug 2026 02:00:00 +0000

Type Values Removed Values Added
Description 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.
Title SourceCodester Stock Management System Master.php delete_supplier sql injection
First Time appeared Sourcecodester
Sourcecodester stock Management System
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:sourcecodester:stock_management_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester stock Management System
References
Metrics cvssV2_0

{'score': 5.8, 'vector': 'AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 4.7, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.1, 'vector': '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'}


Subscriptions

Sourcecodester Stock Management System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-17T17:21:55.685Z

Reserved: 2026-08-15T05:27:19.263Z

Link: CVE-2026-19925

cve-icon Vulnrichment

Updated: 2026-08-17T17:21:45.432Z

cve-icon NVD

Status : Deferred

Published: 2026-08-16T02:16:48.633

Modified: 2026-08-20T12:48:10.287

Link: CVE-2026-19925

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-16T10:15:17Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')