Skip to main content

Pizzafy Ecommerce System CVE-2026-7228

| EUVDEUVD-2026-25992 MEDIUM
SQL Injection (CWE-89)
2026-04-28 VulDB
5.5
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

8
CVSS changed
Apr 29, 2026 - 01:12 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
Severity Changed
Apr 28, 2026 - 06:22 NVD
HIGH MEDIUM
CVSS changed
Apr 28, 2026 - 06:22 NVD
7.3 (HIGH) 6.9 (MEDIUM)
Analysis Generated
Apr 28, 2026 - 06:01 vuln.today
EUVD ID Assigned
Apr 28, 2026 - 05:30 euvd
EUVD-2026-25992
Analysis Generated
Apr 28, 2026 - 05:30 vuln.today
CVE Published
Apr 28, 2026 - 05:15 nvd
MEDIUM 5.5

DescriptionCVE.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.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2026-7228 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy