{"id":"CVE-2026-4781","aliases":["CVE-2026-4781"],"related":[],"kind":"vulnerability","state":"published","title":"SourceCodester Sales and Inventory System HTTP GET Parameter update_purchase.php sql injection","summary":"A flaw has been found in SourceCodester Sales and Inventory System 1.0. The affected element is an unknown function of the file update_purchase.php of the component HTTP GET Parameter Handler. Executing a manipulation of the argument sid can lead to sql injection. The attack may be performed from remote. The exploit has been published and may be used.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw has been found in SourceCodester Sales and Inventory System 1.0. The affected element is an unknown function of the file update_purchase.php of the component HTTP GET Parameter Handler. Executing a manipulation of the argument sid can lead to sql injection. The attack may be performed from remote. The exploit has been published and may be used.","source":"cvelist"},{"lang":"es","text":"Se ha encontrado un fallo en SourceCodester Sales and Inventory System 1.0. El elemento afectado es una función desconocida del archivo update_purchase.php del componente Gestor de Parámetros HTTP GET. La ejecución de una manipulación del argumento sid puede conducir a una inyección SQL. El ataque puede realizarse de forma remota. El exploit ha sido publicado y puede ser utilizado.","source":"nvd"}],"published":"2026-03-24T23:11:35.131Z","modified":"2026-06-17T10:57:12.550Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","score":6.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","score":6.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-74","CWE-89"],"affected":[{"ranges":[{"version":"1.0","status":"affected"}],"vendor":"SourceCodester","product":"Sales and Inventory System","source":"cvelist"},{"ranges":[{"status":"affected","version":"1.0"}],"vendor":"ahsanriaz26gmailcom","product":"sales_and_inventory_system","cpe":"cpe:2.3:a:ahsanriaz26gmailcom:sales_and_inventory_system:1.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.352799","tags":["technical-description","third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?ctiid.352799","tags":["permissions-required","signature","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?submit.775174","tags":["third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/SQLi-UpdatePurchase-sid.md","tags":["exploit","patch","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.sourcecodester.com/","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["FuKun (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-03-25T14:24:50.670Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-4781","url":"https://www.cve.org/CVERecord?id=CVE-2026-4781","licence":"CVE Terms of Use","modified":"2026-03-25T14:27:00.267Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-4781","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4781","licence":"Public domain","modified":"2026-06-17T10:57:12.550Z"}],"updatedAt":"2026-11-25T22:59:16.618Z","epss":{"score":0.00343,"percentile":0.29807,"date":"2026-12-01T12:00:22.000Z"}}