CVE-2026-105178
Received Received - Intake

SQL Injection in Drug Recommendation System 1.0

Vulnerability report for CVE-2026-105178, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-05

Last updated on: 2026-10-05

Assigner: VulDB

Description

A security flaw has been discovered in SourceCodester Drug Recommendation System 1.0. The impacted element is the function mysqli_real_escape_string of the file /Admin/add_symptom.php of the component Symptom Creation. Performing a manipulation of the argument txtname results in sql injection. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-05
Last Modified
2026-10-05
Generated
2026-10-05
AI Q&A
2026-10-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester drug_recommendation_system 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a SQL injection flaw in SourceCodester Drug Recommendation System 1.0. It exists in the mysqli_real_escape_string function of the file /Admin/add_symptom.php, specifically when handling the txtname argument during Symptom Creation. An attacker can manipulate this input to inject malicious SQL code, allowing unauthorized database access or manipulation.

Detection Guidance

To detect this SQL injection vulnerability in the Drug Recommendation System, inspect the Symptom Creation component in /Admin/add_symptom.php. Look for improper use of mysqli_real_escape_string on user input like txtname. Test by submitting crafted input such as a single quote or SQL keywords to see if errors or unexpected behavior occur.

Impact Analysis

This vulnerability allows remote attackers to execute arbitrary SQL commands on the database. Potential impacts include unauthorized data access, data manipulation or deletion, and potential compromise of sensitive information stored in the system such as patient or drug data.

Compliance Impact

This vulnerability could lead to non-compliance with data protection regulations like GDPR and HIPAA. It may result in unauthorized access to personal health information, violating confidentiality requirements and potentially leading to legal penalties, fines, or reputational damage for organizations handling such data.

Mitigation Strategies

Immediately update or patch the SourceCodester Drug Recommendation System to the latest version. If no patch is available, disable the Symptom Creation component in /Admin/add_symptom.php. Review and sanitize all user inputs, particularly the txtname argument, to prevent SQL injection. Consider using prepared statements with parameterized queries instead of mysqli_real_escape_string.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-105178. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart