Reflected Cross-Site Scripting in SourceCodester Sales and Inventory System by SourceCodester
CVE-2026-30562

9.3CRITICAL

Key Information:

Vendor
CVE Published:
30 March 2026

What is CVE-2026-30562?

A reflected Cross-Site Scripting (XSS) vulnerability is present in SourceCodester Sales and Inventory System version 1.0. This flaw is found in the add_stock.php file, where the application does not adequately sanitize inputs through the 'msg' parameter. As a result, attackers can craft a malicious URL to inject arbitrary web scripts or HTML. Successful exploitation could lead to various attacks, including data theft, session hijacking, and potentially compromising user interactions with the application.

References

CVSS V3.1

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.