Impact
A cross‑site scripting vulnerability exists in the SourceCodester Pizzafy Ecommerce System version 1.0, within the save_menu function of /admin/ajax.php?action=save_menu. By manipulating the Name argument, an attacker can inject arbitrary JavaScript that will execute in the browser of users accessing the menu administration interface. This flaw is categorized under CWE‑79 and can lead to session hijacking, defacement, or theft of sensitive data.
Affected Systems
The affected product is SourceCodester Pizzafy Ecommerce System 1.0. No later versions are listed as vulnerable, and a specific patch is not currently available from the vendor.
Risk and Exploitability
The CVSS score of 4.8 reflects moderate severity. The vulnerability can be triggered remotely via the /admin/ajax.php?action=save_menu endpoint, and the CVE description does not specify whether authentication is required, leaving this detail uncertain. EPSS information is not available, and the issue is not listed in the CISA KEV catalog. Attackers can exploit it by submitting a payload in the Name field when adding or editing a menu item, causing malicious scripts to execute in the context of the application for all users who view that menu.
OpenCVE Enrichment