Cross-Site Scripting Vulnerability in SourceCodester Web-based Pharmacy Product Management System
CVE-2025-3823
4.8MEDIUM
Summary
A significant cross-site scripting vulnerability exists in the add-stock.php file of the SourceCodester Web-based Pharmacy Product Management System. This security flaw arises from improper handling of parameters such as txttotalcost, txtproductID, txtprice, and txtexpirydate. Attackers can exploit this vulnerability remotely, potentially leading to the execution of malicious scripts in users' browsers. As the exploit is public, it poses a risk to any deployment of the affected software version.
Affected Version(s)
Web-based Pharmacy Product Management System 1.0
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