CVE-2020-22167: PHPGurukul Hospital Management System - Stored XSS
- Cve: CVE-2020-22167
- Name: PHPGurukul Hospital Management System - Stored XSS
- Description: PHPGurukul Hospital Management System in PHP v4.0 has a Persistent Cross-Site Scripting vulnerability in \hms\admin\appointment-history.php. Remote registered users can exploit the vulnerability to obtain user cookie data.
- Impact: Attackers can execute scripts in other users' browsers, potentially stealing cookies or session tokens.
- Remediation: Sanitize and validate user input in \hms\admin\appointment-history.php, and update to the latest version if available.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs a registered user account and victim to visit the malicious page.
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.0052
- Epss percentile: 0.45019
- Assignee: [email protected]
- Published at: 2021-06-22T15:15:15Z
- Age in days: 1981
- Modified at: 2026-06-17T03:04:08Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-22167
- Nvd status: modified
- 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/itodaro/PHPGurukul_Hospital_Management_System4.0_cve | nvd | 2021-06-22 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/itodaro/PHPGurukul_Hospital_Management_System4.0_cve | 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: 2021-06-22
- Remote: yes
- Authentication required: yes
- Exposed hosts: 539
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports