Skip to main content

Drug Recommendation System CVE-2026-140587

| EUVDEUVD-2026-140162 MEDIUM
SQL Injection (CWE-89)
2026-12-01 VulDB GHSA-phrv-wm25-4g8w
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Admin/add_user.php user-management endpoint
  2. Exploit
    Inject SQL payload via txtpassword argument
  3. Execution
    Manipulate backend database query
  4. Impact
    Read or alter database records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation targets the txtpassword argument of the Admin/add_user.php script in the User Management component; the attacker must be able to submit that parameter to the add-user handler and the value must reach the vulnerable SQL query. The CVSS vector marks it AV:N/AC:L/PR:N/UI:N (remote, no user interaction), but the Admin-side location of the endpoint strongly implies an administrative/authenticated context - the sources do not state whether that authentication is enforced or can be bypassed, which is the primary factor limiting realistic exploitation. The product itself is a niche, rarely deployed application, further narrowing real-world exposure.

Impact

This is a medium-severity SQL injection (CWE-89) in SourceCodester Drug Recommendation System 1.0, a small open-source PHP application, and the signals point to limited real-world priority rather than an urgent threat. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with partial impact across VC/VI/VA scores 5.5; the SSVC framework lists Exploitation: poc, Automatable: yes, Technical Impact: partial, and the vuln.today decision label is this_month - not act_now or emergency. No KEV listing and no EPSS score were provided, so there is no evidence of active exploitation or a modeled exploitation probability. A key conflict to verify: the CVSS vector asserts PR:N (unauthenticated), but the affected element is Admin/add_user.php within the User Management component, which normally sits behind an administrative login - the sources do not confirm whether authentication is enforced or can be bypassed, so the unauthenticated rating should be treated as unverified. Overall this reads as a genuine but low-urgency issue: a real injection flaw in a rarely deployed product, with a public PoC reference that is not confirmed as working exploit code.

Exploit ScenarioDerived

A remote attacker reaches the Admin/add_user.php user-creation endpoint and supplies a crafted value in the txtpassword argument, which is concatenated into a backend SQL query, allowing the attacker to alter the query and read or modify database contents. A public PoC reference exists but is not verified as working exploit code, and whether reaching the endpoint requires an authenticated admin session is not confirmed by the sources.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

SQL injection in SourceCodester Drug Recommendation System 1.0 allows remote attackers to manipulate the txtpassword argument in Admin/add_user.php within the User Management component, with assessed partial loss of confidentiality, integrity, and availability. The endpoint is administrative and the assessed CVSS 3.1 vector requires low privileges (PR:L), while the supplied CVSS 4.0 string lists PR:N and the sources do not confirm whether admin authentication is enforced or bypassable. A public PoC reference exists but is not verified as working exploit code, and CISA SSVC records PoC-level exploitation with automatable delivery, supporting a this_month priority rather than emergency action.

RemediationAI

No vendor-released patch was identified at time of analysis; the available references are the VulDB entry https://vuldb.com/vuln/446938, the VulDB CVE page https://vuldb.com/cve/CVE-2026-140587, and the NVD entry https://nvd.nist.gov/vuln/detail/CVE-2026-140587, with ENISA EUVD-2026-140162. Compensating controls include restricting access to Admin/add_user.php to trusted administrative networks or IP addresses, which lowers exposure but can disrupt legitimate remote admin workflows; enforcing authentication and authorization for the admin interface at a reverse proxy or web server, with the caveat that the sources do not confirm whether the application already enforces it; deploying WAF rules focused on the txtpassword parameter on that endpoint, accepting possible false positives; and, if maintaining the code, reviewing the add_user.php SQL handling of txtpassword and replacing dynamic query construction with parameterized statements. Given the this_month decision label and PoC-level SSVC exploitation signal, schedule remediation in the current monthly cycle rather than emergency response.

Affected VersionsENISA

Drug Recommendation System 1.0

Affected Packages

euvd drug_recommendation_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-89 SQL injection in a PHP web application, SourceCodester Drug Recommendation System 1.0 (CPE cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:*), specifically the User Management component's Admin/add_user.php script. The txtpassword argument is the manipulated input and reaches a SQL query, but the sources do not describe the query construction, sanitization, or exact trigger beyond that parameter path. The Admin-side location implies an administrative context; the independent assessment uses CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L, whereas the supplied CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:N with E:P, and the sources do not resolve whether the admin authentication is enforced or bypassable. Tags identify PHP, SQLi, Sourcecodester, and Drug Recommendation System; SSVC marks exploitation as poc, automatable yes, technical impact partial.

Know when Drug Recommendation System gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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
vuln.today AI 6.3 MEDIUM

Admin/add_user.php is a user-management endpoint implying an authenticated admin context, so PR:L; network SQLi with low complexity yields partial read/write impact (C/I/A:L).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Dec 01, 2026 - 14:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Dec 01, 2026 - 13:30 cve.org
MEDIUM 5.5

DescriptionCVE.org

A vulnerability was detected in SourceCodester Drug Recommendation System 1.0. The impacted element is an unknown function of the file Admin/add_user.php of the component User Management. Performing a manipulation of the argument txtpassword results in sql injection. The attack is possible to be carried out remotely. The exploit is now public and may be used.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Rare
small open-source SourceCodester PHP app, no enterprise deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2026-105704 MEDIUM POC
5.5 Oct 06

Authentication bypass in SourceCodester Drug Recommendation System 1.0 lets remote, unauthenticated attackers impersonat

CVE-2026-94015 MEDIUM POC
5.5 Sep 20

SQL injection in SourceCodester Drug Recommendation System 1.0 lets a remote attacker manipulate the SQL query behind /d

CVE-2026-93997 MEDIUM POC
5.5 Sep 20

SQL injection in SourceCodester Drug Recommendation System 1.0 allows remote attackers to manipulate the ID parameter in

CVE-2026-140261 LOW POC
2.1 Dec 01

Reflected cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows remote unauthenticated attackers

CVE-2026-94035 LOW POC
2.1 Sep 20

Cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows unauthenticated remote attackers to inject

CVE-2026-105705 LOW POC
2.1 Oct 06

Cross-site scripting (XSS) in SourceCodester Drug Recommendation System 1.0 allows remote attackers to inject malicious

CVE-2026-105706 LOW POC
2.1 Oct 06

Cross-site request forgery in SourceCodester Drug Recommendation System 1.0 allows a remote attacker to make an authenti

CVE-2026-94033 LOW POC
2.0 Sep 20

Stored cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows an authenticated user with access to

CVE-2026-94016 LOW POC
1.9 Sep 20

Stored cross-site scripting in the admin symptom-management form (drug_recommender/Admin/add_symptom) of SourceCodester

CVE-2026-105175 MEDIUM
5.5 Oct 05

SQL injection in SourceCodester Drug Recommendation System 1.0 allows unauthenticated remote attackers to execute arbitr

CVE-2026-108919 LOW
2.1 Oct 12

Cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows remote, unauthenticated attackers to inject

CVE-2026-108920 LOW
2.1 Oct 12

Stored cross-site scripting in SourceCodester Drug Recommendation System 1.0 lets unauthenticated remote attackers injec

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy