Cross-Site Scripting Vulnerability in SourceCodester Pharmacy Sales and Inventory System
CVE-2026-7281

4.8MEDIUM

Key Information:

Vendor
CVE Published:
28 April 2026

Badges

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

What is CVE-2026-7281?

A cross-site scripting vulnerability exists in the SourceCodester Pharmacy Sales and Inventory System version 1.0. The flaw resides in the 'supplier' function within the /index.php?page=supplier script. Attackers could exploit this vulnerability by manipulating the 'Name' argument, allowing them to execute malicious scripts within the context of the user's session from a remote location. This publicly disclosed exploit can lead to unauthorized access and potentially damage the integrity of the application and its 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:
4.8
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

test-user (VulDB User)
.