Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Admin privileges (PR:H) gate the injection; scope change (S:C) because XSS executes in the victim admin's browser context enabling session theft (C:L) and DOM manipulation (I:L).
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
Lifecycle Timeline
5DescriptionCVE.org
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.
AnalysisAI
Stored cross-site scripting in SourceCodester Pizzafy Ecommerce System 1.0 allows a remote attacker with administrative credentials to inject arbitrary JavaScript via the Name parameter in the save_user function at /admin/ajax.php?action=save_user. A public proof-of-concept has been disclosed by researcher joaodrmmd (VulDB #359957), though EPSS at 0.03% (9th percentile) and a CVSS 4.0 score of 1.9 reflect the high-privilege prerequisite that significantly constrains real-world exploitation. No active exploitation has been confirmed and this vulnerability is not listed in CISA KEV.
Technical ContextAI
Pizzafy Ecommerce System 1.0 is a PHP-based ecommerce application distributed by SourceCodester, targeting hobbyist and student deployments. The vulnerable endpoint is the admin AJAX handler at /admin/ajax.php?action=save_user, where the save_user function accepts a Name parameter without adequate output encoding before writing it to persistent storage or rendering it in the admin UI. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause as failure to apply context-aware HTML escaping - likely a missing htmlspecialchars() call in PHP - allowing attacker-controlled markup to be injected into the Document Object Model when the stored record is later viewed. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:P) confirms the attack is network-delivered, low complexity, requires no special attack prerequisites, but mandates high-privilege (admin) access and passive victim interaction.
RemediationAI
No vendor-released patch has been identified at time of analysis for Pizzafy Ecommerce System 1.0; absence of a patch reference should not be interpreted as vendor confirmation that no fix exists. As a primary compensating control, developers should apply PHP output encoding (htmlspecialchars($name, ENT_QUOTES, 'UTF-8')) to the Name parameter before it is persisted or rendered in any HTML context within the save_user function. Access to the /admin/ajax.php endpoint should be restricted to trusted IP ranges using Apache .htaccess Allow/Deny directives or nginx geo/allow blocks, reducing exposure to external attackers even with valid credentials. Deploying a Content Security Policy (CSP) response header with script-src 'self' will limit injected script execution even if a payload reaches the DOM. For full technical disclosure and POC details, see https://github.com/joaodrmmd/VulDB-Reports/blob/main/XSS%20-%20Users.pdf and the VulDB advisory at https://vuldb.com/vuln/359957.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-26147