CVE-2026-7294

SourceCodester Pizzafy Ecommerce System index.php save_settings cross site scripting

Published Apr 28, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
A flaw has been found in SourceCodester Pizzafy Ecommerce System 1.0. Affected by this vulnerability is the function save_settings of the file /admin/index.php?page=save_settings. This manipulation of the argument Name causes cross site scripting. The attack may be initiated remotely. The exploit has been published and may be used.

Analysis

AI-generated

Technical impact

The vulnerability occurs in the save_settings function of SourceCodester Pizzafy Ecommerce System’s administrative page. By manipulating the Name argument, an attacker can inject arbitrary JavaScript that is reflected to the browser, enabling cross‑site scripting. The consequence is that a malicious user can execute code within the context of the victim’s session, potentially stealing cookies, hijacking sessions, defacing content, or deflecting traffic. The weakness is classified as CWE‑79 and also involves potential code injection as per CWE‑94.

Affected Systems

This issue affects the 1.0 release of the SourceCodester Pizzafy Ecommerce System. Any instance running this version, or earlier releases that have not applied the fix, is susceptible. The vendor is SourceCodester and the affected component is the admin index page handling save_settings.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate threat level. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack can be launched remotely and an exploit has already been published, meaning the risk of real‑world exploitation is present. Attackers do not need privileged access to the system; simply directing a malicious request to /admin/index.php?page=save_settings with a crafted Name value will trigger the flaw.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SourceCodester Pizzafy Ecommerce System to a patched release or apply any vendor‑issued security update for the save_settings module.
  • Ensure that all user‑supplied data, especially the Name parameter in save_settings, is properly sanitized or escaped before rendering to the browser, using built‑in PHP functions such as htmlspecialchars or a framework’s sanitization utilities.
  • Deploy a Web Application Firewall or configure Content Security Policy headers for the administrative area to block or mitigate reflected XSS payloads on the affected endpoint.

Generated by OpenCVE AI on April 28, 2026 at 23:10 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 flaw has been found in SourceCodester Pizzafy Ecommerce System 1.0. Affected by this vulnerability is the function save_settings of the file /admin/index.php?page=save_settings. This manipulation of the argument Name causes cross site scripting. The attack may be initiated remotely. The exploit has been published and may be used.
Title SourceCodester Pizzafy Ecommerce System index.php save_settings cross site scripting
Weaknesses CWE-79
CWE-94
References
Metrics cvssV2_0

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

cvssV3_0

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

cvssV3_1

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

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Apr 29, 2026, 2:25 PM
Reserved
Apr 28, 2026, 10:26 AM
Status
Deferred
Published
Apr 28, 2026, 7:37 PM
Modified
Oct 26, 2026, 8:10 PM