CVE-2024-56998: PHPGurukul Hospital Management System - Reflected XSS
- Cve: CVE-2024-56998
- Name: PHPGurukul Hospital Management System - Reflected XSS
- Description: PHPGurukul Hospital Management System 4.0 is vulnerable to Cross Site Scripting (XSS) in /edit-profile.php via the parameter $address.
- Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially stealing cookies, session tokens, or performing actions on behalf of the user.
- Remediation: Implement proper input sanitization and output encoding for the $address parameter.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim needs to visit a malicious link
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.2
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
- Epss score: 0.00205
- Epss percentile: 0.10255
- Assignee: [email protected]
- Published at: 2025-01-21T15:15:13Z
- Age in days: 672
- Modified at: 2026-06-17T08:13:09Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-56998
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/kirito999/HMS_stored_XSS/blob/main/stored%20XSS2%20in%20HMS4.0/stored%20XSS2%20in%20HMS.md | nvd | 2025-01-21 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/kirito999/HMS_stored_XSS/blob/main/stored%20XSS2%20in%20HMS4.0/stored%20XSS2%20in%20HMS.md | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| phpgurukul:hospital_management_system | = 4.0 | no | nvd | /v1/products/phpgurukul/hospital_management_system |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-01-21
- Authentication required: yes
- Exposed hosts: 539
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports