CVE-2026-36388: A Cross-Site Scripting (XSS) vulnerability was found in PHPGurukal Hospital Management System v4.0 in the /...
A Cross-Site Scripting (XSS) vulnerability was found in PHPGurukal Hospital Management System v4.0 in the /hospital/hms/edit-profile.php page. This flaw allows an authenticated attacker (patient) to inject a malicious script payload into the User Name parameter, which is stored in the application and later rendered in the doctor s interface.
Security readout for executives and security teams
Plain-English summary
CVE-2026-36388 is a stored cross-site scripting issue in PHPGurukal Hospital Management System v4.0. A logged-in patient can save script content in the User Name field, which may later run when viewed by a doctor. Business impact is mainly account/session risk and data exposure within the application.
Executive priority
Treat as a moderate-priority healthcare application issue. It requires a patient account and doctor interaction, but stored XSS can support session theft, unauthorized actions, or misleading clinical workflows. Prioritize if the system is internet-facing or used with real patient data.
Technical view
The issue is CWE-79 XSS in /hospital/hms/edit-profile.php. The CVSS v3.1 score is 5.4: network reachable, low complexity, low privileges required, user interaction required, scope changed, low confidentiality and integrity impact, no availability impact. The script is stored through the User Name parameter and rendered in the doctor interface.
Likely exposure
Exposure is limited to organizations running PHPGurukal Hospital Management System v4.0. The attacker must authenticate as a patient, and a doctor or other target user must view the stored value for impact.
Exploitation context
The CVE is not listed as CISA KEV in the provided data, and no source states active exploitation. Public reference material exists on GitHub, but the provided bundle does not identify a vendor patch or confirmed exploitation in the wild.
Researcher notes
The provided record names PHPGurukal Hospital Management System v4.0 despite affected vendor/product fields showing n/a. Evidence is sufficient for the vulnerable path, parameter, role requirement, and CVSS, but incomplete for patch status, maintainer acknowledgement, and exploitation prevalence.
Mitigation direction
Check PHPGurukal or project guidance for an official fix or updated release.
Prioritize review of /hospital/hms/edit-profile.php in version 4.0 deployments.
Apply output encoding and input validation where user profile names are displayed.
Restrict patient profile updates if business operations allow until remediated.
Monitor doctor-facing pages for unexpected script execution or altered profile names.
Validation and detection
Confirm whether PHPGurukal Hospital Management System v4.0 is deployed.
Identify any exposed /hospital/hms/edit-profile.php functionality.
Review User Name handling for storage and doctor-interface rendering.
Check application records for suspicious profile name content.
Verify remediation prevents stored script execution in doctor views.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.