Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2955+ Articles
167+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-93997: Unauthenticated SQL Injection in SourceCodester Drug Recommendation System
CVE-2026-93997: Unauthenticated SQL Injection in SourceCodester Drug Recommendation System
SECURITYHIGHCVE-2026-93997

CVE-2026-93997: Unauthenticated SQL Injection in SourceCodester Drug Recommendation System

Drug Recommendation System v1.0's edit_symptom.php lets remote, unauthenticated attackers inject SQL via the ID parameter.

Dylan H.

Security Team

September 21, 2026
3 min read

Affected Products

  • SourceCodester Drug Recommendation System v1.0

Overview

A SQL injection vulnerability has been disclosed in SourceCodester's Drug Recommendation System v1.0, a free PHP/MySQL healthcare-adjacent template used for symptom-to-medication lookups. Tracked as CVE-2026-93997, the flaw lets a remote, unauthenticated attacker inject arbitrary SQL through the ID parameter of /Admin/edit_symptom.php.

This is a different product from the Online Reviewer Management System injection cluster (CVE-2026-93959, -93973, -93974) reported the same week, but shares the same root cause: unsanitized ID parameters passed straight into SQL queries. SourceCodester's catalog of free PHP templates appears to share this coding pattern across multiple, otherwise-unrelated products.


Technical Details

FieldValue
CVE IDCVE-2026-93997
SeverityHigh (CVSS 3.1: 7.3)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
WeaknessCWE-74, CWE-89 (SQL Injection)
Vulnerable File/Admin/edit_symptom.php
ParameterID
AuthenticationNone required
Exploit MaturityPublic PoC available

How It Works

The ID argument passed to edit_symptom.php in the admin panel is concatenated directly into a backend SQL query without parameterization or input validation (CWE-89). No authentication gate protects the endpoint, so an attacker only needs network access to the vulnerable path to extract, modify, or destroy data in the underlying database — which, for this product, includes symptom-to-drug recommendation mappings.


Impact Assessment

Who Is At Risk

  • Any organization or individual running Drug Recommendation System v1.0 with the /Admin/ path reachable over the network
  • Given the product's healthcare-adjacent framing, deployments could plausibly be running in clinics, pharmacies, or student healthcare-IT projects with real patient-facing data

Potential Impact

  • Unauthorized read access to the full application database, including any patient/symptom records and admin credentials stored alongside them
  • Data tampering — an attacker could alter symptom-to-medication mappings via injected UPDATE statements, a risk with direct real-world safety implications if the system genuinely influences care decisions
  • Data deletion or full database compromise via injected DELETE/stacked queries where the driver permits them

Mitigation

  • Rewrite the vulnerable query in edit_symptom.php to use parameterized queries or prepared statements. This is unmaintained template software — no official vendor patch channel exists
  • Deploy a WAF with SQL injection detection rules as an interim compensating control if immediate code changes aren't feasible
  • Restrict network exposure of the /Admin/ path to trusted networks only
  • Audit for signs of prior exploitation — review database logs for anomalous queries against the symptom table
  • Given the healthcare-adjacent nature of the data this product handles, do not treat this as a low-priority template bug — evaluate whether continued use is appropriate for any deployment influencing real medical recommendations

References

  • NVD — CVE-2026-93997
  • VulDB — CVE-2026-93997

Related Reading

  • CVE-2026-93959: Unauthenticated SQL Injection in SourceCodester Online Reviewer Management System
  • CVE-2026-93974: Unauthenticated SQL Injection in SourceCodester Online Reviewer Management System (Databank Module)
#SourceCodester#CVE-2026-93997#SQL Injection#Web Security#PHP#Healthcare

Related Articles

CVE-2026-93973: Unauthenticated SQL Injection in SourceCodester Online Reviewer Management System (Subject Module)

Online Reviewer Management System v1.0's subject btn_functions.php lets remote, unauthenticated attackers inject SQL via the ID parameter.

3 min read

CVE-2026-93974: Unauthenticated SQL Injection in SourceCodester Online Reviewer Management System (Databank Module)

Online Reviewer Management System v1.0's databank btn_functions.php lets remote, unauthenticated attackers inject SQL via the ID parameter.

3 min read

CVE-2026-93959: Unauthenticated SQL Injection in SourceCodester Online Reviewer Management System

Online Reviewer Management System v1.0's btn_functions.php lets remote, unauthenticated attackers inject SQL via the Course parameter. PoC public.

3 min read
Back to all Security Alerts