CVE-2026-140261: SourceCodester Drug Recommendation System · Cross-site Scripting
Affects SourceCodester Drug Recommendation SystemSource CVE Database V5
Public exploit available · CVSS 5.3 Medium.
Data as of 1 Dec 2026, 09:44 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– |
CPE configurations (1)
cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:*
AI-suggested
Users of SourceCodester Drug Recommendation System 1.0 should apply any vendor updates if available. In the absence of a patch, consider implementing input validation and output encoding on the txtname parameter to mitigate XSS risks. Monitor vendor advisories for official fixes.
Description
CVE-2026-140261 is a cross-site scripting (XSS) vulnerability in SourceCodester Drug Recommendation System version 1.0. The flaw exists in the patient.php file within the Patient Registration component, where manipulation of the txtname argument can lead to XSS attacks. This vulnerability can be exploited remotely and requires user interaction. The exploit code has been publicly released. The CVSS 4.0 base score is 5.3, indicating a medium severity level.
References
- vuldb.com/vuln/446854 (opens in a new tab)
- vuldb.com/vuln/446854/cti (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)
- github.com/qwer1230011107/vuldb-reports/blob/main/drug-recommender/02-XSS.md (opens in a new tab)
- sourcecodester.com (opens in a new tab)