CVE-2026-94015

SourceCodester Drug Recommendation System edit_user.php sql injection

Published Sep 20, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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

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

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Sep 28, 2026, 7:45 AM
Reserved
Sep 19, 2026, 3:21 PM
Status
Deferred
Published
Sep 20, 2026, 1:17 PM
Modified
Sep 22, 2026, 4:18 PM