CVE-2026-4781 Details
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.
A SQL injection vulnerability has been identified in SourceCodester Sales and Inventory System version 1.0. The issue arises in the 'update_purchase.php' file, where the 'sid' parameter in the HTTP GET request is not properly sanitized. This flaw allows authenticated attackers to inject arbitrary SQL commands, exploiting the application’s MySQL database. The vulnerability supports UNION-based injections, enabling direct retrieval of sensitive database information, as well as Boolean-based and Time-based blind injection techniques.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 25, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/SQLi-UpdatePurchase-sid.md | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.352799 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.352799 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.775174 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.sourcecodester.com/ | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ahsanriaz26gmailcom sales and inventory system | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 7, 2026 | Initial Analysis | [email protected] |
| Mar 25, 2026 | New CVE Received | [email protected] |