CVE-2026-78059
Received Received - Intake

Cross-Site Scripting in Stock Management System 1.0

Vulnerability report for CVE-2026-78059, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-23

Last updated on: 2026-08-23

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-23
Last Modified
2026-08-23
Generated
2026-08-23
AI Q&A
2026-08-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester stock_management_system 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Stored Cross-Site Scripting (XSS) vulnerability in Stock Management System 1.0. It occurs in the file /php_action/printOrder.php where user input from clientName and clientContact fields is stored without sanitization. When the print order page loads, malicious scripts injected during order creation execute in the victim's browser.

Detection Guidance

To detect this Stored XSS vulnerability, inspect the Stock Management System for unsanitized clientName or clientContact inputs stored in the database. Check if these values are directly output in printOrder.php without encoding. Manually test by submitting a payload like <script>prompt(/xss/);</script> in order creation fields and verify if it executes when viewing the print order page.

Impact Analysis

An attacker can inject malicious scripts that execute when users view order pages. This may lead to theft of cookies, session tokens, or sensitive data. Attackers could also perform actions on behalf of victims, deface pages, redirect users to malicious sites, or take control of the victim's browser.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's data protection requirements and HIPAA's safeguards for protected health information. It may result in data breaches, unauthorized disclosures, and failure to maintain confidentiality and integrity of personal or health data.

Mitigation Strategies

Immediately sanitize all user inputs for clientName and clientContact using strict validation. Encode outputs in printOrder.php with htmlspecialchars(). Implement a Content Security Policy (CSP) to restrict script execution. Set HttpOnly and Secure flags for cookies. Review and audit the system for similar vulnerabilities.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-78059. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart