CVE-2026-140261: SourceCodester Drug Recommendation System · Cross-site Scripting
Source GCVE Database
Public exploit available · CVSS 5.3 Medium.
Data as of 1 Dec 2026, 13:15 UTC
Thin evidence
One scorer or none| CNA (VulDB) | CVSS 4.0 | 5.3 |
|---|---|---|
| CNA (VulDB) | CVSS 3.1 | 4.3 |
| CNA (VulDB) | CVSS 3.0 | 4.3 |
| CNA (VulDB) | CVSS 2.0 | 5.0 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SourceCodesterDrug Recommendation System | Affected
| Fixed in– |
AI-suggested
Since the vulnerability is publicly known and exploitable, users should apply any vendor patches if released. In absence of a patch, implement input validation and output encoding on the txtname parameter to prevent script injection. Monitor vendor advisories for updates.
Description
A cross-site scripting (XSS) vulnerability exists in SourceCodester Drug Recommendation System 1.0 within the patient.php file's Patient Registration component. The flaw is triggered by manipulation of the txtname argument and can be exploited remotely. Public exploit code is available, increasing the risk of attacks. The vulnerability has a medium severity rating with a CVSS score of 4.3.
References
- nvd.nist.gov/vuln/detail/CVE-2026-140261 (opens in a new tab)
- github.com/qwer1230011107/vuldb-reports/blob/main/drug-recommender/02-XSS.md (opens in a new tab)
- vuldb.com/cve/CVE-2026-140261 (opens in a new tab)
- vuldb.com/submit/1090131 (opens in a new tab)
- vuldb.com/vuln/446854 (opens in a new tab)
- vuldb.com/vuln/446854/cti (opens in a new tab)
- sourcecodester.com (opens in a new tab)