# CVE-2026-140261: SourceCodester Drug Recommendation System Patient Registration patient.php cross site scripting

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-12-01T09:00:26.988Z
- Modified: 2026-12-01T11:18:55.930Z
- Weaknesses: CWE-79, CWE-94
- Assigned by: VulDB

## Description

A security flaw has been discovered in SourceCodester Drug Recommendation System 1.0. Affected by this vulnerability is an unknown functionality of the file patient.php of the component Patient Registration. Performing a manipulation of the argument txtname results in cross site scripting. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks.

(As written by CVE List.)

## Affected

- SourceCodester Drug Recommendation System: 1.0

## Every score

- VulDB: CVSS:4.0 5.3 Medium `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:P`
- VulDB: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C`
- VulDB: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C`
- VulDB: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:ND/RC:C`

## References

- <https://github.com/qwer1230011107/vuldb-reports/blob/main/drug-recommender/02-XSS.md> (exploit)
- <https://vuldb.com/vuln/446854> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/446854/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-140261> (third-party-advisory)
- <https://vuldb.com/submit/1090131> (third-party-advisory)
- <https://www.sourcecodester.com/> (product)

## Sources

- CVE List: [CVE-2026-140261](https://www.cve.org/CVERecord?id=CVE-2026-140261), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-140261](https://nvd.nist.gov/vuln/detail/CVE-2026-140261), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-140261 · Whole record: https://cve.day/CVE-2026-140261.json · Rebuilt by cve.day 2026-12-01T11:32:13.767Z
