Cross-Site Scripting Vulnerability in SourceCodester Pharmacy Management System
CVE-2025-3826

4.8MEDIUM

Key Information:

Vendor
CVE Published:
20 April 2025

Badges

👾 Exploit Exists🟡 Public PoC

Summary

A critical flaw has been identified in the SourceCodester Web-based Pharmacy Product Management System version 1.0, specifically affecting the add-supplier.php file. This vulnerability arises from improper validation of user input in the parameters txtsupplier_name and txtaddress, allowing attackers to inject malicious scripts. When exploited, this can lead to unauthorized actions that compromise data integrity and user security. The attack can be initiated remotely, posing significant risks to the system's stability and confidentiality, necessitating immediate attention and remediation.

Affected Version(s)

Web-based Pharmacy Product Management 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

.