Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
2.1

CVE-2026-105705: SourceCodester Drug Recommendation System allows attackers to inject scripts

CVE-2026-105705 · published 13 days ago
Summary

The admin page add_drug.php in the SourceCodester Drug Recommendation System can be tricked into running malicious code entered by a user. This could let an attacker display false information, steal login details, or take over user sessions. Apply the vendor's security update or add proper input validation and output encoding to block the attack.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
sourcecodester drug recommendation system 1.0
Original advisory text
SourceCodester Drug Recommendation System add_drug.php cross site scripting
A security flaw has been discovered in SourceCodester Drug Recommendation System 1.0. This impacts an unknown function of the file Admin/add_drug.php. Performing a manipulation results in cross site scripting. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
2.1 Low
Exploitation
<1% chance of attack within 30 days
Type
CWE-79Cross-site Scripting (XSS)
CWE-94Code Injection
Timeline
Published6 Oct 2026
Updated15 Oct 2026
First seen6 Oct 2026
Sources
CVE-2026-105705 · MITRE
Track software like this
Free during beta