CVE-2026-7410

SourceCodester Pizzafy Ecommerce System ajax.php add_to_cart sql injection

Published Apr 29, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability has been found in SourceCodester Pizzafy Ecommerce System 1.0. This vulnerability affects unknown code of the file /admin/ajax.php?action=add_to_cart. The manipulation of the argument pid leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Analysis

AI-generated

Technical impact

The SourceCodester Pizzafy Ecommerce System contains a code flaw in the file /admin/ajax.php at the action add_to_cart. Manipulating the pid parameter leads to an SQL injection, which allows an attacker to execute arbitrary SQL commands against the system database. This can result in unauthorized reading, modification, or deletion of data, potentially compromising the confidentiality, integrity, and availability of the application’s data store.

Affected Systems

The affected product is SourceCodester Pizzafy Ecommerce System version 1.0. No additional version information is listed in the CNA data, so all deployments of this version should be assumed vulnerable.

Risk and Exploitability

The CVSS score is 5.3, indicating a moderate risk. EPSS data is not available, and the vulnerability is not listed in CISA’s KEV catalog. The attack vector appears to be remote, as the vulnerable endpoint can be accessed via HTTP requests, and no authentication requirement is explicitly mentioned. Therefore, it is inferred that an external attacker could potentially exploit the flaw without prior credentials. Once injected, the attacker could perform database manipulation operations that undermine the application’s security.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Deploy the vendor’s patch or upgrade to a version where the SQL injection issue has been fixed.
  • If a patch is unavailable, restrict or block external access to the /admin/ajax.php add_to_cart endpoint using firewall rules or web‑application firewall rules, and ensure that only authorized users can reach it.
  • Modify the application to validate and sanitize the pid parameter and use prepared statements (parameterized queries) to eliminate the injection vector.

Generated by OpenCVE AI on April 30, 2026 at 03:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sourcecodester
Sourcecodester pizzafy Ecommerce System
Vendors & Products Sourcecodester
Sourcecodester pizzafy Ecommerce System
Type Values Removed Values Added
Description A vulnerability has been found in SourceCodester Pizzafy Ecommerce System 1.0. This vulnerability affects unknown code of the file /admin/ajax.php?action=add_to_cart. The manipulation of the argument pid leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
Title SourceCodester Pizzafy Ecommerce System ajax.php add_to_cart sql injection
Weaknesses CWE-74
CWE-89
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': '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'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
May 4, 2026, 1:20 PM
Reserved
Apr 29, 2026, 1:17 PM
Status
Deferred
Published
Apr 29, 2026, 10:16 PM
Modified
Oct 26, 2026, 8:10 PM