Description
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.
Published: 2026-03-08
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting via edit‑profile.php that can execute arbitrary scripts in a victim’s browser.
Action: Patch Immediately
AI Analysis

Impact

The vulnerability lies in the edit‑profile.php file of the SourceCodester Web‑based Pharmacy Product Management System. An attacker can inject malicious scripts by manipulating the fullname argument, leading to client‑side code execution when the page is rendered. This flaw can be triggered remotely and has a publicly available exploit.

Affected Systems

The affected system is SourceCodester's Web‑based Pharmacy Product Management System, version 1.0. No other vendors or product versions are listed.

Risk and Exploitability

The CVSS base score is 5.1, indicating moderate severity, and the EPSS score is less than 1 %, suggesting a low probability of exploitation. The weakness is not listed in the CISA KEV catalog, but the public exploit available means that attackers could still target systems running the vulnerable version. The attack path requires a crafted request to edit‑profile.php with a malicious fullname value, which is then reflected in the browser without proper sanitization.

Generated by OpenCVE AI on April 16, 2026 at 04:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Validate and sanitize the fullname input on the server side, ensuring that only acceptable characters are stored and displayed. Prefer functions like filter_var with FILTER_SANITIZE_STRING or htmlspecialchars before rendering the value.
  • If a newer version of the SourceCodester system has been released, upgrade to that version to remove the vulnerability.
  • Implement a Content Security Policy header such as default-src 'self'; script-src 'self' to mitigate the impact of any remaining XSS payloads.

Generated by OpenCVE AI on April 16, 2026 at 04:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 10 Mar 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 09 Mar 2026 16:30:00 +0000

Type Values Removed Values Added
First Time appeared Senior-walter
Senior-walter web-based Pharmacy Product Management System
CPEs cpe:2.3:a:senior-walter:web-based_pharmacy_product_management_system:1.0:*:*:*:*:*:*:*
Vendors & Products Senior-walter
Senior-walter web-based Pharmacy Product Management System

Mon, 09 Mar 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Sourcecodester
Sourcecodester web-based Pharmacy Product Management System
Vendors & Products Sourcecodester
Sourcecodester web-based Pharmacy Product Management System

Sun, 08 Mar 2026 20:15:00 +0000

Type Values Removed Values Added
Description 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.
Title SourceCodester Web-based Pharmacy Product Management System edit-profile.php cross site scripting
Weaknesses CWE-79
CWE-94
References
Metrics cvssV2_0

{'score': 4, 'vector': 'AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 3.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Senior-walter Web-based Pharmacy Product Management System
Sourcecodester Web-based Pharmacy Product Management System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-03-10T20:41:38.644Z

Reserved: 2026-03-07T20:51:03.942Z

Link: CVE-2026-3766

cve-icon Vulnrichment

Updated: 2026-03-10T20:41:34.578Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-08T20:15:49.837

Modified: 2026-04-29T01:00:01.613

Link: CVE-2026-3766

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-16T04:15:24Z

Weaknesses