CVE-2026-7228 SourceCodester Pizzafy Ecommerce System ajax.php get_cart_count sql injection
Remote attackers can exploit SQL injection in the get_cart_count function to read or modify database contents in the Pizzafy Ecommerce System.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-7228?
CVE-2026-7228 is a medium-severity SQL injection vulnerability in SourceCodester Pizzafy Ecommerce System, published on 28 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A flaw has been found in SourceCodester Pizzafy Ecommerce System 1.0. The affected element is the function get_cart_count of the file /admin/ajax.php?action=get_cart_count. This manipulation of the argument ID causes sql injection. The attack is possible to be carried out remotely. The exploit has been published and may be used.
Which versions are affected by CVE-2026-7228?
How do I fix CVE-2026-7228?
No fix has been published for CVE-2026-7228 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-7228 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7228 exists.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-29mw-v354-5gg5.