Cross Site Scripting Flaw in SourceCodester Pharmacy Sales and Inventory System
CVE-2026-10245

5.1MEDIUM

Key Information:

Vendor
CVE Published:
1 June 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2026-10245?

A flaw has been identified in the SourceCodester Pharmacy Sales and Inventory System 1.0, specifically within the create_supplier function in the /ShowForm/create_supplier/main file. This vulnerability allows an attacker to manipulate the company_name argument, potentially leading to cross site scripting (XSS) attacks. The remote exploitation of this weakness poses significant security risks as it could allow attackers to inject malicious scripts into web pages viewed by users.

Affected Version(s)

Pharmacy Sales and Inventory System 1.0

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

timeflies (VulDB User)
.