CVE-2025-40724
BaseFortify
Publication date: 2025-07-16
Last updated on: 2025-07-16
Assigner: Spanish National Cybersecurity Institute, S.A. (INCIBE)
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| pharmacy_pos_php_script | pharmacy_pos_php_script | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Stored Cross-Site Scripting (XSS) issue in the Pharmacy POS PHP Script. It allows an attacker to inject malicious JavaScript code via the u_medicine_name parameter in the /edit_medicine.php page. When a victim accesses a malicious URL containing this parameter, the injected script executes in their browser, potentially stealing sensitive data like session cookies or performing actions on behalf of the user.
How can this vulnerability impact me? :
The vulnerability can lead to theft of sensitive user data such as session cookies, which can be used to hijack user sessions. It also allows attackers to perform unauthorized actions on behalf of the user, potentially compromising user accounts and data integrity.