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 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Pizzafy 1.0 installation
  2. Delivery
    Send crafted HTTP request to /admin/ajax.php
  3. Exploit
    Inject SQL payload via ID parameter
  4. Execution
    Execute arbitrary SQL commands
  5. Impact
    Extract database credentials or modify e-commerce data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The get_cart_count AJAX endpoint at /admin/ajax.php must be accessible to remote network traffic, which is the default deployment for web-accessible e-commerce platforms. No authentication is required (PR:N in CVSS vector), meaning exploitation succeeds against default Pizzafy configurations without credentials or user interaction. The /admin/ path prefix suggests intended restriction to authenticated administrators, but the vulnerability description and CVSS vector confirm unauthenticated remote exploitation is possible, indicating either a missing authentication check on this specific AJAX action or a design flaw where cart count retrieval is intentionally public. Exploitation is further simplified by low attack complexity (AC:L) - standard HTTP GET or POST requests with injected SQL syntax suffice, requiring no timing manipulation, race conditions, or target-specific reconnaissance beyond identifying Pizzafy installations. Limiting factors: Exploitation impact is constrained to the database user privileges under which the PHP application runs; if configured with least-privilege MySQL/MariaDB accounts, the attacker cannot directly compromise the underlying operating system, though data exfiltration and application-layer damage remain viable.

Impact

Real-world risk is elevated due to multiple converging factors. The CVSS 3.1 base score of 7.3 (High) reflects network attack vector (AV:N), low complexity (AC:L), no privileges required (PR:N), and no user interaction (UI:N), meaning any remote attacker can exploit this without authentication or social engineering. Impact includes low confidentiality (C:L), integrity (I:L), and availability (A:L) compromise, consistent with SQL injection that can extract data, modify records, or potentially cause denial of service. The Exploit Maturity (E:P) indicator confirms publicly available proof-of-concept code exists, as evidenced by the GitHub repository from fernando-mengali. Remediation Level (RL:X) is not defined, suggesting no official vendor patch confirmation at time of CVE assignment. While EPSS data is unavailable, the public exploit combined with trivial exploitation conditions (no auth, low complexity) creates high risk for any internet-exposed Pizzafy installation. However, the limited deployment footprint of this SourceCodester learning platform (compared to enterprise software) may reduce widespread exploitation probability. Key missing data: CISA KEV status (not listed), EPSS score, and vendor patch timeline - no official advisory from SourceCodester identified in references.

Exploit ScenarioDerived

An unauthenticated remote attacker crafts a malicious HTTP request to https://victim-site.com/admin/ajax.php?action=get_cart_count with a SQL injection payload in the ID parameter, such as ID=1' UNION SELECT username,password,email FROM admin_users--. The vulnerable get_cart_count function concatenates this input directly into a SQL query without sanitization, causing the database to execute the attacker's injected commands. The attacker extracts sensitive data like admin credentials, modifies shopping cart records to manipulate pricing, or uses stacked queries to drop tables and cause service disruption. Public exploit code on GitHub provides ready-to-use payloads, enabling even low-skill attackers to compromise vulnerable installations within minutes of discovery.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 28, 2026

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.

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.

Affected VersionsENISA

Pizzafy Ecommerce System 1.0

Affected Packages

euvd pizzafy_ecommerce_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Pizzafy Ecommerce System gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) 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

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
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)
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.

Executive ViewAI

Why It Matters

Pizzafy Ecommerce System 1.0 contains an unauthenticated SQL injection vulnerability in the admin cart function that allows remote attackers to execute arbitrary database queries without authentication. Organizations running this platform face immediate risk of data breach, unauthorized access, and business disruption, particularly since functional exploit code is publicly available and the vulnerability requires no special privileges or user interaction to exploit.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict /admin/ajax.php access via network firewall to authorized IP ranges only; (2) Deploy Web Application Firewall (WAF) with SQL injection signatures targeting the ID parameter; (3) Implement database activity monitoring to detect anomalous queries; (4) Segment database servers from public-facing application tier; (5) Enable database query logging and alerting on multiple failed queries; (6) Consider temporary removal of Pizzafy from production until patch is available.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2026-7227 MEDIUM POC
5.5 Apr 28

SQL injection in Pizzafy Ecommerce System 1.0 allows remote unauthenticated attackers to compromise database confidentia

CVE-2026-7226 MEDIUM POC
5.5 Apr 28

SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows remote unauthenticated attackers to compromise datab

CVE-2026-7225 MEDIUM POC
5.5 Apr 28

SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows remote unauthenticated attackers to execute arbitrar

CVE-2026-7224 MEDIUM POC
5.5 Apr 28

SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows unauthenticated remote attackers to extract, modify,

CVE-2026-10559 LOW POC
2.1 Jun 02

Local File Inclusion via null byte injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote

CVE-2026-10558 LOW POC
2.1 Jun 02

File inclusion in SourceCodester Pizzafy Ecommerce System 1.0 exposes the admin panel to path traversal attacks via the

CVE-2026-7268 LOW POC
2.1 Apr 28

SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to execute arbitrary

CVE-2026-7410 LOW POC
2.1 Apr 29

SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to execute arbitrary

CVE-2026-7267 LOW POC
2.1 Apr 28

SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 via the ID parameter in /view_prod.php allows authenticated

CVE-2026-7266 LOW POC
2.1 Apr 28

SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to execute arbitrary

CVE-2026-7265 LOW POC
2.1 Apr 28

SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to read, modify, or d

CVE-2026-7264 LOW POC
2.1 Apr 28

SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to manipulate the ID

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