CVE-2026-7226 Details
Description
A security vulnerability has been detected in SourceCodester Pizzafy Ecommerce System 1.0. This issue affects the function login2 of the file /admin/ajax.php?action=login2. The manipulation of the argument e-mail leads to sql injection. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used.
A critical SQL injection vulnerability has been identified in SourceCodester Pizzafy Ecommerce System version 1.0. The issue resides in the login2 function of the admin/ajax.php file, where the e-mail parameter is not properly sanitized. This flaw allows remote attackers to inject malicious SQL commands, exploiting the application’s database query handling. The vulnerability has been publicly disclosed and is unpatched.
The vulnerability can be remediated by using prepared statements to handle SQL queries securely, validating and sanitizing input parameters, restricting database user privileges, monitoring for unusual access patterns, and improving error handling to avoid disclosing database errors that could aid attackers.
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 28, 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/03-vul-SQLI.md | [email protected] | ExploitTechnical Description |
| https://vuldb.com/submit/802413 | [email protected] | ExploitTechnical Description |
| https://vuldb.com/vuln/359826 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/359826/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