CVE-2026-7224 Details
Description
A security flaw has been discovered in SourceCodester Pizzafy Ecommerce System 1.0. This affects the function delete_cart of the file /admin/ajax.php?action=delete_cart. Performing a manipulation of the argument ID results in sql injection. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks.
A SQL injection vulnerability has been identified in SourceCodester Pizzafy Ecommerce System version 1.0. The issue arises in the delete_cart function within the file /admin/ajax.php?action=delete_cart. The vulnerability allows for error-based SQL injection, where an attacker can manipulate the ID parameter to inject malicious SQL commands. This flaw can be exploited remotely, and an exploit is publicly available.
It is recommended to update the delete_cart function to properly sanitize the id parameter, use prepared statements for database queries, and implement input validation to ensure only expected values are processed. Additionally, review and restrict database user permissions to minimize the impact of potential SQL injection attacks.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 28, 2026CISA-ADP
Assessed Apr 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/fernando-mengali/vulndb-submissions/blob/main/01-vul-SQLI.md | [email protected] | ExploitRemedyTechnical Description |
| https://vuldb.com/submit/802387 | [email protected] | Technical Description |
| https://vuldb.com/vuln/359824 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/359824/cti | [email protected] | Content Wall |
| https://www.sourcecodester.com/ | [email protected] | Vendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SourceCodester Pizzafy Ecommerce System | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 28, 2026 | New CVE Received | [email protected] |
Volerion