{"id":"CVE-2026-140587","aliases":["EUVD-2026-140162","GHSA-phrv-wm25-4g8w"],"status":"published","title":"SourceCodester Drug Recommendation System User Management add_user.php sql injection","description":"A vulnerability was detected in SourceCodester Drug Recommendation System 1.0. The impacted element is an unknown function of the file Admin/add_user.php of the component User Management. Performing a manipulation of the argument txtpassword results in sql injection. The attack is possible to be carried out remotely. The exploit is now public and may be used.","severity":{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna","from":"cve","others":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C","level":"high","assessor":"cna","from":"cve"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C","level":"high","assessor":"cna","from":"cve"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C","assessor":"cna","from":"cve"},{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/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":"medium","from":"ghsa"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","from":"ghsa"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"secondary","from":"nvd"}]},"epss":{"day":"2026-12-04","score":0.00467,"percentile":0.42147,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false,"poc_reported":true},"cwes":["CWE-74","CWE-89"],"published":"2026-12-01T13:30:20Z","modified":"2026-12-01T16:18:21Z","products":[{"vendor":"sourcecodester","product":"drug recommendation system"}],"references":[{"url":"https://vuldb.com/vuln/446938","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/446938/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-140587","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/1091915","tags":["third-party-advisory"]},{"url":"https://github.com/qwer1230011107/vuldb-reports/blob/main/drug-recommender/01-SQL%E6%B3%A8%E5%85%A5.md","tags":["exploit"]},{"url":"https://www.sourcecodester.com/","tags":["product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140587"},{"url":"https://www.sourcecodester.com"},{"url":"https://github.com/advisories/GHSA-phrv-wm25-4g8w"}],"sources":{"cve":[{"id":"CVE-2026-140587","title":"SourceCodester Drug Recommendation System User Management add_user.php sql injection","description":"A vulnerability was detected in SourceCodester Drug Recommendation System 1.0. The impacted element is an unknown function of the file Admin/add_user.php of the component User Management. Performing a manipulation of the argument txtpassword results in sql injection. The attack is possible to be carried out remotely. The exploit is now public and may be used.","status":"published","published":"2026-12-01T13:30:20.743Z","modified":"2026-12-01T15:39:20.644Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C","level":"high","assessor":"cna"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C","level":"high","assessor":"cna"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C","assessor":"cna"}],"cwes":["CWE-89","CWE-74"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial","date":"2026-12-01"},"updated_at":"2026-12-01T15:48:16.836784Z"}],"euvd":[{"id":"EUVD-2026-140162","description":"A vulnerability was detected in SourceCodester Drug Recommendation System 1.0. The impacted element is an unknown function of the file Admin/add_user.php of the component User Management. Performing a manipulation of the argument txtpassword results in sql injection. The attack is possible to be carried out remotely. The exploit is now public and may be used.","status":"published","published":"2026-12-01T13:30:20Z","modified":"2026-12-01T15:39:20Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium"}],"updated_at":"2026-12-01T18:19:42.299783Z"}],"ghsa":[{"id":"GHSA-phrv-wm25-4g8w","title":"A vulnerability was detected in SourceCodester Drug Recommendation System 1.0. The impacted...","description":"A vulnerability was detected in SourceCodester Drug Recommendation System 1.0. The impacted element is an unknown function of the file Admin/add_user.php of the component User Management. Performing a manipulation of the argument txtpassword results in sql injection. The attack is possible to be carried out remotely. The exploit is now public and may be used.","status":"published","published":"2026-12-01T15:31:18Z","modified":"2026-12-01T15:31:26Z","cvss":[{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/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":"medium"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-74"],"updated_at":"2026-12-01T15:59:27.877097Z"}],"nvd":[{"id":"CVE-2026-140587","description":"A vulnerability was detected in SourceCodester Drug Recommendation System 1.0. The impacted element is an unknown function of the file Admin/add_user.php of the component User Management. Performing a manipulation of the argument txtpassword results in sql injection. The attack is possible to be carried out remotely. The exploit is now public and may be used.","status":"published","published":"2026-12-01T14:18:22.07Z","modified":"2026-12-01T16:18:21.763Z","cvss":[{"version":"4.0","score":5.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/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":"medium","assessor":"secondary"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"secondary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"secondary"}],"cwes":["CWE-74","CWE-89"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial","date":"2026-12-01"},"updated_at":"2026-12-01T16:21:11.956854Z"}]}}
