Stored Cross-Site Scripting (XSS) in Pharmacy POS PHP Script

Posted date 15/07/2025
Identificador
INCIBE-2025-0380
Importance
3 - Medium
Affected Resources

Pharmacy POS PHP Script.

Description

INCIBE has coordinated the publication of a medium severity vulnerability affecting Pharmacy POS PHP Script, a solution to streamline pharmacy operations and improve customer service. The vulnerability was discovered by Gonzalo Aguilar García (6h4ack).

This vulnerability has been assigned the following code, CVSS v4.0 base score, CVSS vector and vulnerability type CWE:

  • CVE-2025-40724: CVSS v4.0: 5.1 | CVSS AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | CWE-79
Solution

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

Detail

CVE-2025-40724: 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.

CVE
Explotación
No
Nuevo Fabricante
Pharmacy
Identificador CVE
CVE-2025-40724
Severidad
Media
References list