Impact
A user input form in SourceCodester Drug Recommendation System 1.0 contains a cross‑site scripting (XSS) flaw that can be triggered by manipulating the txtname, txtpassword, txtemail, txtphone, or txtprevious_school fields in the add_student.php page. The vulnerability allows a remote attacker to inject and execute arbitrary JavaScript in the context of the victim's browser, which could be used for session hijacking, defacement, or phishing attacks against users of the system.
Affected Systems
SourceCodester develops the Drug Recommendation System, version 1.0. The vulnerability resides in the Student Registration component, specifically in the add_student.php file.
Risk and Exploitability
The CVSS score of 5.3 indicates moderate risk, and the EPSS score is not available, so the likelihood of widespread exploitation is uncertain. The vulnerability is not listed in the CISA KEV catalog, but publicly disclosed exploits exist, and the attack vector is remote via the web. The potential impact is primarily on user confidentiality and integrity of the browser session rather than on the server state.
OpenCVE Enrichment