CVE-2022-31494: LibreHealth EHR Base - Stored XSS
- Cve: CVE-2022-31494
- Name: LibreHealth EHR Base - Stored XSS
- Description: LibreHealth EHR Base 2.0.0 allows gacl/admin/acl_admin.php action XSS.
- Impact: Attackers can execute malicious scripts in the user's browser, potentially leading to session hijacking or defacement.
- Remediation: Implement proper input sanitization and output encoding in gacl/admin/acl_admin.php, and update to the latest version if available.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: admin_privileges
- Requirements: Attacker needs access to admin interface
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.01031
- Epss percentile: 0.64585
- Assignee: [email protected]
- Published at: 2022-06-06T23:15:08Z
- Age in days: 1632
- Modified at: 2026-06-17T04:45:33Z
- Public exploits total: 1
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-31494
- 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://nitroteam.kz/index.php?action=researches&slug=librehealth2_r | nvd | 2022-06-06 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://nitroteam.kz/index.php?action=researches&slug=librehealth2_r | Exploit, Third Party Advisory |
| https://github.com/LibreHealthIO/lh-ehr/tags | Release Notes, Third Party Advisory |
| https://gitlab.com/librehealth/ehr/lh-ehr/-/tags | Release Notes, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| librehealth:librehealth_ehr | = 2.0.0 | no | nvd | /v1/products/librehealth/librehealth_ehr |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-06-06
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts