Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/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
Lifecycle Timeline
8DescriptionCVE.org
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.
AnalysisAI
SQL injection in Pizzafy Ecommerce System 1.0 allows remote unauthenticated attackers to execute arbitrary SQL commands via the ID parameter in the get_cart_count function at /admin/ajax.php. CVSS scores 7.3 (High) with network attack vector, low complexity, and no authentication required. Public exploit code exists on GitHub, significantly lowering the barrier to exploitation. EPSS data not available, but the combination of public exploit, low attack complexity (AC:L), and no authentication (PR:N) indicates moderate-to-high real-world risk for internet-facing installations.
Technical ContextAI
This vulnerability is a classic SQL injection (CWE-89) in a PHP-based e-commerce application. The get_cart_count AJAX endpoint in /admin/ajax.php fails to properly sanitize or parameterize the ID argument before incorporating it into SQL queries. SQL injection occurs when user-controlled input is concatenated directly into SQL statements without validation or prepared statements, allowing attackers to break out of the intended query logic and inject arbitrary SQL commands. The affected product, Pizzafy Ecommerce System 1.0 by SourceCodester, is a freely available PHP e-commerce platform often used for learning or small business deployments. The vulnerability resides in server-side PHP code that processes AJAX requests, a common attack surface in modern web applications where client-side JavaScript makes asynchronous calls to backend endpoints.
RemediationAI
No vendor-released patch identified at time of analysis - SourceCodester has not published a security advisory or updated version per available references. Organizations must implement immediate compensating controls: (1) Apply input validation and parameterized queries (prepared statements) to the get_cart_count function in /admin/ajax.php, replacing any direct SQL concatenation of the ID parameter with bound parameters using PDO or MySQLi prepared statements. (2) Deploy web application firewall (WAF) rules to block SQL injection patterns in requests to /admin/ajax.php, though this is bypass-prone and not a substitute for code fixes. (3) Restrict access to /admin/* paths to authenticated admin users only via web server access controls (Apache .htaccess or nginx location blocks), though this mitigates only if the endpoint was not intended for unauthenticated access. (4) If the get_cart_count AJAX function is not business-critical, disable or remove the endpoint entirely until a secure implementation is available. Trade-offs: Code-level fixes require PHP development expertise and testing; WAF rules may cause false positives; access restrictions may break legitimate functionality if unauthenticated cart count retrieval is a design requirement. For proof-of-concept details, reference the exploit code at https://github.com/fernando-mengali/vulndb-submissions/blob/main/05-vul-SQLI.md and VulDB entry https://vuldb.com/vuln/359828.
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
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
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-25992