Description
A vulnerability was identified in SourceCodester Drug Recommendation System 1.0. This affects an unknown function of the file /drug_recommender/Admin/edit_user.php. Such manipulation of the argument ID leads to sql injection. The attack may be launched remotely. The exploit is publicly available and might be used.
Published: 2026-09-20
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: SQL Injection
Action: Apply Patch
AI Analysis

Impact

A SQL injection flaw exists in the /drug_recommender/Admin/edit_user.php file of SourceCodester Drug Recommendation System 1.0. By manipulating the ID argument, an attacker can construct arbitrary SQL statements that are executed by the backend database, potentially exposing, modifying, or deleting sensitive data. The weakness falls under CWE-89 (SQL Injection) and CWE-74 (Input containing or related to file paths). The result is a remote data tampering or disclosure vulnerability that can undermine both confidentiality and integrity of the system.

Affected Systems

The vulnerability affects the SourceCodester Drug Recommendation System version 1.0. Any deployment that includes the edit_user.php component and does not have the patch applied is susceptible. The specific function that accepts the ID parameter is not enumerated beyond the edit_user.php file, so all instances using this code path are at risk.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. No EPSS score is available, and the flaw is not listed in the CISA KEV catalog. The description confirms that the exploit may be launched remotely via HTTP and that the exploit code is publicly available. Attackers only need to supply a crafted ID value in a request, no additional credentials or privileged access are required, making the vulnerability relatively easy to exploit across affected installations.

Generated by OpenCVE AI on September 20, 2026 at 13:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply any available patch or upgrade to a newer version of the Drug Recommendation System that addresses the edit_user.php injection issue.
  • If a patch is unavailable, restrain the ID input to integer values only, and refactor the database calls to use prepared statements or parameterized queries to neutralize injection vectors.
  • Configure the database user account employed by the application to the least privileges necessary; this limits the potential damage even if SQL injection succeeds.

Generated by OpenCVE AI on September 20, 2026 at 13:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 20 Sep 2026 12:30:00 +0000

Type Values Removed Values Added
Description A vulnerability was identified in SourceCodester Drug Recommendation System 1.0. This affects an unknown function of the file /drug_recommender/Admin/edit_user.php. Such manipulation of the argument ID leads to sql injection. The attack may be launched remotely. The exploit is publicly available and might be used.
Title SourceCodester Drug Recommendation System edit_user.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': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

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

cvssV3_1

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

cvssV4_0

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


Subscriptions

Sourcecodester Drug Recommendation System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-09-20T12:00:12.745Z

Reserved: 2026-09-19T15:21:56.967Z

Link: CVE-2026-94015

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-20T13:17:46.540

Modified: 2026-09-20T13:17:46.540

Link: CVE-2026-94015

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T13:45:07Z

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