CVE-2025-5584 Details
Description
A vulnerability was found in PHPGurukul Hospital Management System 4.0. It has been classified as problematic. Affected is an unknown function of the file /doctor/edit-patient.php?editid=2 of the component POST Parameter Handler. The manipulation of the argument patname leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
A stored cross-site scripting vulnerability has been identified in PHPGurukul Hospital Management System version 4.0. The issue arises in the 'edit-patient.php' file, specifically within the POST parameter handler. The vulnerability allows attackers to inject malicious scripts into the 'patname' parameter, which are then permanently stored in the database. These scripts are executed when the patient's profile page is accessed, potentially leading to session hijacking, phishing, defacement, data exfiltration, malware propagation, and privilege escalation.
It is recommended to sanitize user inputs on the server side, encode outputs before rendering dynamic content, implement a strict Content Security Policy, use modern PHP frameworks that offer built-in XSS protection, and conduct regular security testing with tools like OWASP ZAP or Burp Suite.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Ant1sec-ops/Hospital-management-Systemv4.0-Stored-XSS/blob/main/stored-xss-exploit.md | [email protected] | ExploitThird Party Advisory |
| https://phpgurukul.com/ | [email protected] | Product |
| https://vuldb.com/?ctiid.311046 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.311046 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.588828 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| anujk305 hospital management system | 4.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 10, 2025 | Initial Analysis | [email protected] |
| Jun 4, 2025 | New CVE Received | [email protected] |