CVE-2026-3766 in Web-based Pharmacy Product Management Systeminfo

Summary

by MITRE • 03/08/2026

A security flaw has been discovered in SourceCodester Web-based Pharmacy Product Management System 1.0. This impacts an unknown function of the file edit-profile.php. Performing a manipulation of the argument fullname results in cross site scripting. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 03/08/2026

This vulnerability resides within the SourceCodester Web-based Pharmacy Product Management System version 1.0 where a cross site scripting flaw has been identified in the edit-profile.php file. The specific weakness occurs when processing the fullname parameter, which allows malicious actors to inject arbitrary javascript code through manipulation of this input field. The vulnerability represents a classic client-side scripting attack vector that can be exploited through web browser interactions without requiring any special privileges or authentication. The attack surface is particularly concerning as it enables remote exploitation, meaning attackers can target users from any location without physical access to the system infrastructure. The public availability of exploit code significantly increases the risk profile as it removes the barrier to entry for potential attackers who may not possess advanced technical skills.

The technical implementation of this vulnerability follows the standard XSS attack pattern where user input is not properly sanitized or escaped before being rendered back to the browser. When the application processes the fullname parameter in edit-profile.php, it fails to validate or encode the input data, allowing malicious scripts to be executed within the context of the victim's browser session. This creates a persistent threat where legitimate users may unknowingly execute malicious code when viewing profile information or when the application renders the manipulated input field. The vulnerability aligns with CWE-79 which specifically addresses cross site scripting flaws in web applications, and follows ATT&CK technique T1566.001 for initial access through spearphishing attachments or links.

The operational impact of this vulnerability extends beyond simple data theft or session hijacking. Attackers can leverage this flaw to perform a wide range of malicious activities including credential theft, data exfiltration, session manipulation, and even privilege escalation within the application context. Since the system manages pharmacy product information, potential attackers could gain access to sensitive patient data, prescription records, or inventory management details. The remote nature of the exploit means that attackers can target users from anywhere in the world, potentially compromising multiple users across different geographic locations. Organizations using this system face significant risk of data breaches, regulatory non-compliance, and potential legal consequences due to the exposure of sensitive healthcare information.

Mitigation strategies should include immediate implementation of proper input validation and output encoding mechanisms within the edit-profile.php file. All user-supplied input must be sanitized and validated before processing, with special characters properly escaped or encoded to prevent script execution. The application should implement Content Security Policy headers to limit script execution sources and prevent unauthorized code injection. Additionally, regular security audits and penetration testing should be conducted to identify similar vulnerabilities in other application components. The system administrators should also consider implementing web application firewalls to detect and block malicious requests targeting this specific vulnerability. Updates and patches should be applied immediately if available, while organizations should establish incident response procedures to monitor for potential exploitation attempts and respond to any confirmed breaches. Regular security training for developers on secure coding practices and input validation techniques will help prevent similar vulnerabilities from being introduced in future versions of the application.

Responsible

VulDB

Disclosure

03/08/2026

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00210

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!