CVE-2026-3754
Published: 08 March 2026
Summary
CVE-2026-3754 is a medium-severity Injection (CWE-74) vulnerability in Ahsanriaz26Gmailcom Sales And Inventory System. Its CVSS base score is 5.3 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 21.6th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Deeper analysis
CVE-2026-3754 is a SQL injection vulnerability in SourceCodester Sales and Inventory System 1.0, affecting an unknown function in the file /add_stock.php. The issue arises from improper neutralization of the 'cost' argument, classified under CWE-74 and CWE-89. It carries a CVSS v3.1 base score of 6.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L), indicating medium severity with network accessibility, low attack complexity, and requirements for low privileges.
Attackers with low-privileged remote access, such as authenticated users, can exploit this vulnerability by manipulating the 'cost' parameter in requests to /add_stock.php, leading to SQL injection. Successful exploitation enables limited impacts on confidentiality, integrity, and availability, potentially allowing unauthorized data access, modification, or disruption within the application's database.
Advisories from VulDB (ctiid.349732, id.349732, submit.768038) document the vulnerability and reference a public proof-of-concept exploit available on GitHub at meifukun/Web-Security-PoCs/blob/main/Inventory-System/SQLi-AddStock-cost.md. The vendor site at sourcecodester.com provides the affected software but no specific patch details are noted in available references; practitioners should verify for updates and apply input validation or parameterized queries as general mitigations.
The exploit has been publicly disclosed and could be used against unpatched instances of the system.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-10257
Vulnerability details
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…
more
been made public and could be used.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
SQL injection in a remotely accessible web application directly matches the definition of exploiting a network-accessible (AV:N) application vulnerability for initial access or limited data manipulation.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly requires validation and sanitization of inputs such as the 'cost' parameter to block SQL injection payloads before they reach the database.
Mandates prompt remediation of the known SQL injection flaw in add_stock.php via code fixes such as parameterized queries or updates.
Restricts the low-privilege accounts that can reach /add_stock.php, reducing the attack surface even though the injection still works with minimal rights.