Description
A vulnerability has been found in SourceCodester Stock Management System 1.0. This vulnerability affects unknown code of the file /php_action/printOrder.php. Such manipulation of the argument clientName/clientContact leads to cross site scripting. The attack may be performed from remote. The exploit has been disclosed to the public and may be used.
Published: 2026-08-23
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The SourceCodester Stock Management System contains a reflected XSS flaw (CWE‑79) that arises when the clientName and clientContact arguments are concatenated into a response without proper sanitization. Additionally, the manipulation of these parameters can lead to arbitrary code execution via PHP injection (CWE‑94). An attacker can supply crafted input containing script tags or malicious PHP code, which the application will embed in the rendered page. This code runs in the victim’s browser or server context, potentially stealing session credentials, defacing the interface, or redirecting to malicious sites. The impact is an arbitrary script or code execution within the web application, compromising confidentiality, integrity, and trustworthiness of user data.

Affected Systems

The vulnerability exists in SourceCodester Stock Management System version 1.0. Users running this release without applying any vendor‑supplied fix or update are exposed.

Risk and Exploitability

The CVSS score of 5.3 indicates a medium severity risk, and the EPSS score is not available, so the exact likelihood of exploitation is uncertain. The vulnerability has been publicly disclosed and can be triggered remotely without any authentication. Although the vulnerability is not listed in the CISA KEV catalog, the publicly available exploit code means the risk to exposed installations is moderate and should be mitigated promptly.

Generated by OpenCVE AI on August 23, 2026 at 04:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest version of SourceCodester Stock Management System or apply the vendor’s security fix if available.
  • Sanitize the clientName and clientContact inputs by escaping HTML special characters or using server‑side validation to prevent script or PHP code injection.
  • Deploy a Content Security Policy that restricts inline script execution or enables XSS protection headers as an interim mitigation until a patch is applied.

Generated by OpenCVE AI on August 23, 2026 at 04:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 23 Aug 2026 03:30:00 +0000

Type Values Removed Values Added
Description A vulnerability has been found in SourceCodester Stock Management System 1.0. This vulnerability affects unknown code of the file /php_action/printOrder.php. Such manipulation of the argument clientName/clientContact leads to cross site scripting. The attack may be performed from remote. The exploit has been disclosed to the public and may be used.
Title SourceCodester Stock Management System printOrder.php cross site scripting
First Time appeared Sourcecodester
Sourcecodester stock Management System
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:sourcecodester:stock_management_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester stock Management System
References
Metrics cvssV2_0

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

cvssV3_0

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

cvssV3_1

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

cvssV4_0

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


Subscriptions

Sourcecodester Stock Management System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-23T03:15:09.782Z

Reserved: 2026-08-22T10:11:53.083Z

Link: CVE-2026-78059

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-23T04:16:54.387

Modified: 2026-08-23T04:16:54.387

Link: CVE-2026-78059

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-23T06:30:16Z

Weaknesses
  • CWE-79

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

  • CWE-94

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