CVE-2026-4781 SourceCodester Sales and Inventory System HTTP GET Parameter update_purchase.php sql injection
Remote attackers can exploit SQL injection in the update_purchase.php script to read or modify database records.
- 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-4781?
CVE-2026-4781 is a medium-severity SQL injection vulnerability in SourceCodester Sales and Inventory System, published on 24 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A flaw has been found in SourceCodester Sales and Inventory System 1.0. The affected element is an unknown function of the file update_purchase.php of the component HTTP GET Parameter Handler. Executing a manipulation of the argument sid can lead to sql injection. The attack may be performed from remote. The exploit has been published and may be used.
Which versions are affected by CVE-2026-4781?
It affects 1 product.
Products include Ahsanriaz26gmailcom Sales and Inventory System.
How do I fix CVE-2026-4781?
No fix has been published for CVE-2026-4781 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-4781 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4781 exists.
Other vulnerabilities in SourceCodester Sales and Inventory System
Sources
Also known as GHSA-923r-23pf-6337.