Stored Cross-Site Scripting (XSS) vulnerability in Pharmacy POS PHP Script. This vulnerability allows an attacker to execute JavaScript code in the victim's browser by sending the victim a malicious URL using the u_medicine_name parameter in /edit_medicine.php. This vulnerability can be exploited to steal sensitive user data such as session cookies or to perform actions on behalf of the user.
Fixes

Solution

The vulnerability has been fixed by the Pharmacy POS PHP Script team in the latest software release.


Workaround

No workaround given by the vendor.

History

Wed, 16 Jul 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00047}


Wed, 16 Jul 2025 09:30:00 +0000

Type Values Removed Values Added
Description Stored Cross-Site Scripting (XSS) vulnerability in Pharmacy POS PHP Script. This vulnerability allows an attacker to execute JavaScript code in the victim's browser by sending the victim a malicious URL using the u_medicine_name parameter in /edit_medicine.php. This vulnerability can be exploited to steal sensitive user data such as session cookies or to perform actions on behalf of the user.
Title Stored Cross-Site Scripting (XSS) in Pharmacy POS PHP Script
Weaknesses CWE-79
References
Metrics cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: INCIBE

Published:

Updated: 2025-07-16T14:40:09.872Z

Reserved: 2025-04-16T08:38:20.493Z

Link: CVE-2025-40724

cve-icon Vulnrichment

Updated: 2025-07-16T14:34:17.593Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-07-16T10:15:28.687

Modified: 2025-07-16T14:58:59.837

Link: CVE-2025-40724

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.