Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials
-
DeliveryAccess admin panel
-
ExploitCraft SQL injection payload in ID parameter
-
ExecutionExecute malicious query in get_cart_items function
-
PersistExtract sensitive database contents
-
ImpactExfiltrate customer or transaction 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 | Exploitation requires valid administrative credentials to access the /admin/ directory and invoke the get_cart_items AJAX action. The ID parameter must be injectable - specifically, it must be used in a SQL context without parameterization or input validation. No special application configuration appears to be required beyond a standard installation. The vulnerability is NOT exploitable against unauthenticated attackers or non-admin users lacking access to the admin panel. Successful exploitation depends on the database backend supporting stacked queries or UNION-based query manipulation (standard in MySQL, PostgreSQL, and SQL Server as used by PHP applications). |
| Impact | The CVSS vector indicates network-accessible exploitation (AV:N) with low attack complexity (AC:L), but requires login privileges (PR:L), which significantly limits the attack surface compared to unauthenticated SQL injection vulnerabilities. The EPSS metric within the CVSS vector (E:P) indicates publicly available exploit code, elevating practical risk despite the moderate 6.3 score. The combination of authenticated access requirement, exploitability probability rating, and public exploit availability suggests this poses real risk to organizations running unpatched Pizzafy installations where admin accounts may be compromised, shared, or held by disgruntled insiders. No CISA KEV status is indicated, but public exploit availability means defenders cannot rely on obscurity. The limited scope (S:U) means the impact is confined to the database and application data, not system-wide compromise. However, database access in e-commerce systems can expose customer payment data, personal information, and transactional records-raising the practical business impact above the raw CVSS score. |
| Exploit ScenarioDerived | An attacker with valid admin credentials (obtained through phishing, credential stuffing, or insider threat) sends a crafted HTTP request to /admin/ajax.php?action=get_cart_items with a malicious SQL payload in the ID parameter. The unvalidated input is concatenated into a SQL query, allowing the attacker to execute arbitrary SQL commands such as UNION-based injection to extract customer credit card data, modify order records, or delete transaction logs without leaving obvious application-level traces. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 28, 2026
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to manipulate the ID parameter in the get_cart_items AJAX function (/admin/ajax.php?action=get_cart_items) to execute arbitrary SQL queries and extract, modify, or delete database contents. The vulnerability has a CVSS score of 6.3 with publicly available exploit code, posing moderate risk to affected installations.
RemediationAI
No vendor-released patch identified at time of analysis. Organizations should implement immediate compensating controls: (1) restrict access to /admin/ajax.php?action=get_cart_items to trusted IP addresses using web application firewall or network access control lists; (2) disable AJAX cart functionality if not actively used; (3) enforce strong, unique admin credentials and implement multi-factor authentication to reduce the likelihood of credential compromise; (4) conduct code review of the get_cart_items function and implement parameterized SQL queries or prepared statements with proper input validation; (5) monitor database access logs for suspicious SQL patterns and unusual query activity targeting cart-related tables. Contact SourceCodester directly via https://www.sourcecodester.com/ to inquire about patch availability or migrate to a maintained e-commerce platform if vendor support is unavailable. Apply database-level restrictions to limit the privileges of the application's database user account.
Affected VersionsENISA
Affected Packages
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
The vulnerability exists in a PHP-based e-commerce platform's AJAX endpoint. The get_cart_items function in /admin/ajax.php fails to properly sanitize or parameterize the ID argument before using it in SQL queries, violating the secure coding practice of prepared statements or input validation. This is a classic SQL injection vulnerability (CWE-89) where attacker-controlled user input is concatenated directly into SQL command strings. The CPE indicates all versions of the Pizzafy Ecommerce System are affected, suggesting the vulnerability may exist across multiple minor versions or the vendor has not released a patched version.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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
Lifecycle Timeline
5DescriptionCVE.org
A weakness has been identified in SourceCodester Pizzafy Ecommerce System 1.0. Impacted is the function get_cart_items of the file /admin/ajax.php?action=get_cart_items. Executing a manipulation of the argument ID can lead to sql injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Pizzafy Ecommerce System
View allSQL injection in Pizzafy Ecommerce System 1.0 allows remote unauthenticated attackers to execute arbitrary SQL commands
SQL injection in Pizzafy Ecommerce System 1.0 allows remote unauthenticated attackers to compromise database confidentia
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows remote unauthenticated attackers to compromise datab
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows remote unauthenticated attackers to execute arbitrar
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows unauthenticated remote attackers to extract, modify,
Local File Inclusion via null byte injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote
File inclusion in SourceCodester Pizzafy Ecommerce System 1.0 exposes the admin panel to path traversal attacks via the
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to execute arbitrary
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to execute arbitrary
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 via the ID parameter in /view_prod.php allows authenticated
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to execute arbitrary
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to read, modify, or d
EUVD-2026-26027
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB