CVE-2026-7297 SourceCodester Pizzafy Ecommerce System ajax.php save_user cross site scripting
Remote attackers can inject malicious scripts via the Name argument in the save_user function, potentially compromising admin sessions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-7297?
CVE-2026-7297 is a medium-severity cross-site scripting vulnerability in SourceCodester Pizzafy Ecommerce System, published on 28 Apr 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
A vulnerability was determined in SourceCodester Pizzafy Ecommerce System 1.0. This vulnerability affects the function save_user of the file /admin/ajax.php?action=save_user. Executing a manipulation of the argument Name can lead to cross site scripting. The attack can be executed remotely. The exploit has been publicly disclosed and may be utilized.
Which versions are affected by CVE-2026-7297?
How do I fix CVE-2026-7297?
No fix has been published for CVE-2026-7297 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-7297 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7297 exists.
Sources
Also known as GHSA-j57j-4x9v-9rx5.