CVE-2026-4781: SourceCodester Sales and Inventory System - SQL Injection
- Cve: CVE-2026-4781
- Name: SourceCodester Sales and Inventory System - SQL Injection
- Description: 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.
- Impact: Remote attackers can execute arbitrary SQL commands, potentially leading to data theft or modification.
- Remediation: Update to the latest version.
- Vulnerability type: sql_injection
- Vulnerability impact: sql_injection
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00343
- Epss percentile: 0.28348
- Assignee: [email protected]
- Published at: 2026-03-25T00:16:41Z
- Age in days: 244
- Modified at: 2026-06-17T10:57:12Z
- Public exploits total: 1
- References total: 5
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-4781
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/SQLi-UpdatePurchase-sid.md | nvd | 2026-03-25 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/SQLi-UpdatePurchase-sid.md | Exploit, Third Party Advisory |
| https://vuldb.com/?id.352799 | Third Party Advisory, VDB Entry |
| https://vuldb.com/?submit.775174 | Third Party Advisory, VDB Entry |
| https://vuldb.com/?ctiid.352799 | Permissions Required, VDB Entry |
| https://www.sourcecodester.com/ | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ahsanriaz26gmailcom:sales_and_inventory_system | = 1.0 | no | nvd | /v1/products/ahsanriaz26gmailcom/sales_and_inventory_system |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-03-25
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts