CVE-2025-40724
published medium CVSS 4.0 · 5.1Stored Cross-Site Scripting (XSS) in Pharmacy POS PHP Script
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Pharmacy POS PHP Script | — | Pharmacy POS PHP Scriptall versions · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- INCIBE · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Pharmacy POS PHP Script | Pharmacy POS PHP Script | all versions (affected)Default: unaffected | INCIBE · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')
References
1Provider assertions
2INCIBE · cna
Stored Cross-Site Scripting (XSS) in Pharmacy POS PHP Script
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- dd26af8e09f9f6ba9f0a1a382b9f5193dc4fb5b2aba47380924cdb65329b4240
- Ingested
- 23 Sep 2026, 08:48:23 UTC
- Source record
- Official CVE record