Impact
A flaw has been found in the create_supplier function of SourceCodester Pharmacy Sales and Inventory System 1.0. A malicious value supplied for the company_name parameter can lead to cross‑site scripting. Because the request can be sent from an external site, the attack can be launched remotely. The vulnerability allows the execution of arbitrary JavaScript in the browser context of users who view the affected page. This maps to CWE-79 and CWE-94.
Affected Systems
The issue affects SourceCodester Pharmacy Sales and Inventory System version 1.0. No other versions or products are identified as impacted by this CVE.
Risk and Exploitability
The CVSS score of 5.1 indicates a moderate severity for this XSS flaw. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, the existence of a published exploit and the ability to launch the attack remotely suggest that unpatched installations of version 1.0 are at risk of having malicious scripts executed in users’ browsers.
OpenCVE Enrichment