{"id":"CVE-2026-140261","aliases":["EUVD-2026-139980","GHSA-x8mg-rjpf-5prf"],"status":"published","title":"SourceCodester Drug Recommendation System Patient Registration patient.php cross site scripting","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.","severity":{"version":"4.0","score":5.3,"vector":"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","level":"medium","assessor":"cna","from":"cve","others":[{"version":"3.1","score":4.3,"vector":"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","level":"medium","assessor":"cna","from":"cve"},{"version":"3.0","score":4.3,"vector":"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","level":"medium","assessor":"cna","from":"cve"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:ND/RC:C","assessor":"cna","from":"cve"},{"version":"4.0","score":2.1,"vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low","from":"ghsa"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","from":"ghsa"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"secondary","from":"nvd"}]},"epss":{"day":"2026-12-04","score":0.0034,"percentile":0.29374,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79","CWE-94"],"published":"2026-12-01T09:00:26Z","modified":"2026-12-03T18:17:19Z","products":[{"vendor":"sourcecodester","product":"drug recommendation system"}],"references":[{"url":"https://vuldb.com/vuln/446854","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/446854/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-140261","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/1090131","tags":["third-party-advisory"]},{"url":"https://github.com/qwer1230011107/vuldb-reports/blob/main/drug-recommender/02-XSS.md","tags":["exploit"]},{"url":"https://www.sourcecodester.com/","tags":["product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140261"},{"url":"https://www.sourcecodester.com"},{"url":"https://github.com/advisories/GHSA-x8mg-rjpf-5prf"}],"sources":{"cve":[{"id":"CVE-2026-140261","title":"SourceCodester Drug Recommendation System Patient Registration patient.php cross site scripting","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.","status":"published","published":"2026-12-01T09:00:26.988Z","modified":"2026-12-03T17:12:51.508Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.1","score":4.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.0","score":4.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:ND/RC:C","assessor":"cna"}],"cwes":["CWE-79","CWE-94"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T17:23:50.500296Z"}],"euvd":[{"id":"EUVD-2026-139980","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.","status":"published","published":"2026-12-01T09:00:26Z","modified":"2026-12-03T17:12:51Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium"}],"updated_at":"2026-12-01T15:18:55.650869Z"}],"ghsa":[{"id":"GHSA-x8mg-rjpf-5prf","title":"A security flaw has been discovered in SourceCodester Drug Recommendation System 1.0. Affected by...","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.","status":"published","published":"2026-12-01T12:31:26Z","modified":"2026-12-01T12:31:34Z","cvss":[{"version":"4.0","score":2.1,"vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-12-01T12:58:12.986961Z"}],"nvd":[{"id":"CVE-2026-140261","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.","status":"published","published":"2026-12-01T11:18:55.78Z","modified":"2026-12-03T18:17:19.25Z","cvss":[{"version":"4.0","score":2.1,"vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low","assessor":"secondary"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79","CWE-94"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T18:19:11.55284Z"}]}}
