Description
A vulnerability was determined in SourceCodester Drug Recommendation System 1.0. Impacted is an unknown function of the file /Admin/edit_class.php. This manipulation of the argument ID causes sql injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized.
Published: 2026-10-05
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: Remote SQL injection
Action: Apply Patch
AI Analysis

Impact

The vulnerability is an SQL injection that occurs when an attacker manipulates the ID argument in the /Admin/edit_class.php file of SourceCodester Drug Recommendation System 1.0. By supplying a crafted value, the attacker can embed arbitrary SQL commands into the query. This flaw can lead to unauthorized data exposure, modification, or disclosure of the underlying database. The weakness is represented by CWE‑74 and CWE‑89, and the CVSS score is 5.1, indicating a moderate severity. The exploit is remote, publicly disclosed, and does not require local privileges.

Affected Systems

The affected product is SourceCodester Drug Recommendation System version 1.0, particularly the edit_class.php component within the admin interface. No other versions or components are listed as affected by this vulnerability.

Risk and Exploitability

The CVSS score of 5.1 places this flaw in the medium severity range. Because the EPSS score is not available, the exact likelihood of exploitation cannot be quantified, but the disclosure of a remote attack vector and the absence of mitigations in the public release suggest a realistic exploitation opportunity. The vulnerability is not currently listed in the CISA KEV catalog, yet the publicly available exploit code demonstrates that attackers can use it without special tooling. The attack does not require physical or local access, making it a concern for exposed web applications running this system.

Generated by OpenCVE AI on October 5, 2026 at 02:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest update from SourceCodester for Drug Recommendation System if a security patch is available
  • Rewrite the ID handling in edit_class.php to use prepared statements or parameterized queries to eliminate unsanitized SQL injection
  • Ensure the database account used by the web application has the minimum privileges required, ideally read‑only for the admin functions
  • Restrict access to /Admin/edit_class.php to authenticated users with administrator roles only

Generated by OpenCVE AI on October 5, 2026 at 02:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 05 Oct 2026 01:45:00 +0000

Type Values Removed Values Added
Description A vulnerability was determined in SourceCodester Drug Recommendation System 1.0. Impacted is an unknown function of the file /Admin/edit_class.php. This manipulation of the argument ID causes sql injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized.
Title SourceCodester Drug Recommendation System edit_class.php sql injection
First Time appeared Sourcecodester
Sourcecodester drug Recommendation System
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester drug Recommendation 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 Drug Recommendation System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-10-05T01:00:14.611Z

Reserved: 2026-10-04T08:50:22.937Z

Link: CVE-2026-105176

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-05T02:16:48.307

Modified: 2026-10-05T02:16:48.307

Link: CVE-2026-105176

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-05T02:30:08Z

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')