CVE-2026-4572 SourceCodester Sales and Inventory System HTTP POST Request view_product.php sql injection
Remote attackers can exploit SQL injection in the searchtxt parameter of view_product.php to read or modify database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-4572?
CVE-2026-4572 is a medium-severity SQL injection vulnerability in SourceCodester Sales and Inventory System, published on 23 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A weakness has been identified in SourceCodester Sales and Inventory System 1.0. Affected by this issue is some unknown functionality of the file /view_product.php of the component HTTP POST Request Handler. Executing a manipulation of the argument searchtxt can lead to sql injection. The attack may be performed from remote. The exploit has been made available to the public and could be used for attacks.
Which versions are affected by CVE-2026-4572?
It affects 1 product.
Products include Ahsanriaz26gmailcom Sales and Inventory System.
How do I fix CVE-2026-4572?
No fix has been published for CVE-2026-4572 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-4572 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4572 exists.
Other vulnerabilities in SourceCodester Sales and Inventory System
Sources
Also known as GHSA-94xr-2h4v-f72v.