# CVE-2025-40724: Stored Cross-Site Scripting (XSS) in Pharmacy POS PHP Script

- Severity: Medium 5.1 (CVSS:4.0, scored by INCIBE) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2025-07-16T09:23:15.529Z
- Modified: 2026-06-17T09:22:01.707Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: INCIBE

## 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.

(As written by CVE List.)

## Affected

- Pharmacy POS PHP Script Pharmacy POS PHP Script: all versions

## References

- <https://www.incibe.es/en/incibe-cert/notices/aviso/stored-cross-site-scripting-xss-pharmacy-pos-php-script>

## Sources

- CVE List: [CVE-2025-40724](https://www.cve.org/CVERecord?id=CVE-2025-40724), CVE Terms of Use, modified 2025-07-16
- NVD: [CVE-2025-40724](https://nvd.nist.gov/vuln/detail/CVE-2025-40724), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-40724 · Whole record: https://cve.day/CVE-2025-40724.json · Rebuilt by cve.day 2026-11-25T22:59:01.322Z
