Skip to main content
VulnerabilityPublished

CVE-2026-4777: SourceCodester Sales and Inventory System · SQL Injection

Affects SourceCodester Sales and Inventory SystemSource CVE Database V5

0
Compare

Public exploit available · CVSS 5.3 Medium.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
SourceCodesterSales and Inventory SystemAffected
  • =1.0
Fixed in–

AI-suggested

  1. Implement immediate input validation and sanitization for the 'searchtxt' parameter to reject or properly encode malicious input.
  2. Refactor the affected code to use prepared statements or parameterized queries to prevent direct injection of user input into SQL commands.
  3. Restrict network access to the Sales and Inventory System, limiting exposure to trusted internal networks or VPNs.
  4. Monitor logs for unusual database query patterns or repeated failed attempts targeting the 'searchtxt' parameter.
  5. Conduct a comprehensive security review of the entire application to identify and remediate other potential injection points.
  6. If possible, isolate the database with least privilege principles, ensuring the application account has minimal rights.
  7. Educate developers on secure coding practices to prevent similar vulnerabilities in future releases.
  8. Engage with the vendor or community to obtain or develop official patches or updates addressing this vulnerability.
  9. 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.

References

Community reviews

Loading reviews…