CVE-2026-3754 Details
Description
A vulnerability was found in SourceCodester Sales and Inventory System 1.0. This affects an unknown function of the file /add_stock.php. Performing a manipulation of the argument cost results in sql injection. The attack can be initiated remotely. The exploit has been made public and could be used.
A SQL injection vulnerability has been identified in SourceCodester Sales and Inventory System version 1.0. The issue resides in the add_stock.php file, where the cost parameter in POST requests is not properly sanitized. This flaw allows authenticated attackers to inject arbitrary SQL commands. Exploitation can be done using time-based blind injection techniques, such as the SLEEP() function, to infer and extract database information, despite the application not displaying database errors or sensitive data directly.
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 11, 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-AddStock-cost.md | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.349732 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.349732 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.768038 | [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] |
| Mar 9, 2026 | Initial Analysis | [email protected] |
| Mar 8, 2026 | New CVE Received | [email protected] |