CVE-2022-29940: In LibreHealth EHR 2.0.0, lack of sanitization of the GET parameters formseq and formid in interface\orders\fi
CVE-2022-29940 is a medium-severity flaw (CVSS 5.4) affecting librehealth ehr. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In LibreHealth EHR 2.0.0, lack of sanitization of the GET parameters formseq and formid in interface\orders\find_order_popup.php leads to multiple cross-site scripting (XSS) vulnerabilities.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.9% (top 41%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2022-05-05 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-29940?
librehealth ehr: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-29940 being exploited?
CVE-2022-29940 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-29940 affect?
CVE-2022-29940 affects librehealth ehr. Severity is medium (CVSS 5.4). In LibreHealth EHR 2.0.0, lack of sanitization of the GET parameters formseq and formid in interface\orders\find_order_popup.php leads to multiple cross-site scripting (XSS) vulnerabilities.
How urgent is CVE-2022-29940?
Priority 39/100. Public exploit reference
Software pages
Related CVEs
- CVE-2022-31498 MEDIUM 6.1 DOWNGRADE LibreHealth EHR Base 2.0.0 allows interface/orders/patient_match_dialog.php key XSS.
- CVE-2022-31497 MEDIUM 6.1 DOWNGRADE LibreHealth EHR Base 2.0.0 allows interface/main/finder/finder_navigation.php patient XSS.
- CVE-2022-31496 HIGH 8.8 DOWNGRADE LibreHealth EHR Base 2.0.0 allows incorrect interface/super/manage_site_files.php access.
- CVE-2022-31495 MEDIUM 6.1 DOWNGRADE LibreHealth EHR Base 2.0.0 allows gacl/admin/acl_admin.php return_page XSS.
- CVE-2022-31494 MEDIUM 6.1 DOWNGRADE LibreHealth EHR Base 2.0.0 allows gacl/admin/acl_admin.php action XSS.