CVE-2026-4777: SourceCodester Sales and Inventory System · SQL Injection
Affects SourceCodester Sales and Inventory SystemSource CVE Database V5
Public exploit available · CVSS 5.3 Medium.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:PExploitation evidence
Disclosed: evidence found.
CVE published 24 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SourceCodesterSales and Inventory System | Affected
| Fixed in– |
AI-suggested
- Implement immediate input validation and sanitization for the 'searchtxt' parameter to reject or properly encode malicious input.
- Refactor the affected code to use prepared statements or parameterized queries to prevent direct injection of user input into SQL commands.
- Restrict network access to the Sales and Inventory System, limiting exposure to trusted internal networks or VPNs.
- Monitor logs for unusual database query patterns or repeated failed attempts targeting the 'searchtxt' parameter.
- Conduct a comprehensive security review of the entire application to identify and remediate other potential injection points.
- If possible, isolate the database with least privilege principles, ensuring the application account has minimal rights.
- Educate developers on secure coding practices to prevent similar vulnerabilities in future releases.
- Engage with the vendor or community to obtain or develop official patches or updates addressing this vulnerability.
- Consider deploying Web Application Firewalls (WAFs) with custom rules to detect and block SQL Injection attempts targeting this parameter.
Description
A security flaw has been discovered in SourceCodester Sales and Inventory System 1.0. This affects an unknown part of the file view_supplier.php of the component POST Parameter Handler. The manipulation of the argument searchtxt results in sql injection. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks.