Read the docs

SQL injection in SourceCodester Drug Recommendation System

Priority LOW 23CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
SQL injection
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.

Summary

SourceCodester Drug Recommendation System from 1.0 is affected. The drug creation feature in /Admin/add_drug.php does not neutralize user-supplied input before using it in an SQL query (CWE-89). A remote attacker with high privileges can inject SQL into the database, and a public exploit is available.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

A vulnerability was identified in SourceCodester Drug Recommendation System 1.0. The affected element is an unknown function of the file /Admin/add_drug.php of the component Drug Creation. Such manipulation of the argument txtname/cmdtype/txtusage/txtsideeffect/cmdcontraindication leads to sql injection. The attack may be performed from remote. The exploit is publicly available and might be used.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00202 10th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
SourceCodesterDrug Recommendation System1.0—No fix listedCNA
  • Drug Recommendation System VendorSourceCodester Affected 1.0 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:*——SourceCodester
  • cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:* Versions — — ·SourceCodester

Remediation

The sources list no fixed version for SourceCodester Drug Recommendation System.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Timeline

  1. 2026-10-05 Threatist record created from CVE-2026-105177
  2. 2026-10-05 Alias added: GHSA-46x6-gw8q-rwjw

References

  • TI-2024-03188 SourceCodester Online Courseware deactivateteach.php sql injection CVSS 3.1CRITICAL 9.8
  • TI-2024-03160 SourceCodester Computer Laboratory Management System config.php redirect CVSS 3.1CRITICAL 9.8
  • TI-2024-03131 SourceCodester Airline Ticket Reservation System activate_jet_details_form_handler.php sql injection CVSS 3.1CRITICAL 9.8
  • TI-2024-01794 SourceCodester Web-Based Student Clearance System login.php sql injection CVSS 3.1CRITICAL 9.8
  • TI-2023-05341 SourceCodester Simple Real Estate Portal System view_estate.php sql injection CVSS 3.1CRITICAL 9.8
  • TI-2023-04857 SourceCodester Engineers Online Portal remove_inbox_message.php sql injection CVSS 3.1CRITICAL 9.8
See all 2062 →

Sources