CVE-2022-29938: In LibreHealth EHR 2.0.0, lack of sanitization of the GET parameter payment_id in interface\billing\new_paymen
CVE-2022-29938 is a high-severity flaw (CVSS 8.8) 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 parameter payment_id in interface\billing\new_payment.php via interface\billing\payment_master.inc.php leads to SQL injection.
Why this priority
- High severity
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.5% (top 26%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| 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-29938?
librehealth ehr: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-29938 being exploited?
CVE-2022-29938 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-29938 affect?
CVE-2022-29938 affects librehealth ehr. Severity is high (CVSS 8.8). In LibreHealth EHR 2.0.0, lack of sanitization of the GET parameter payment_id in interface\billing\new_payment.php via interface\billing\payment_master.inc.php leads to SQL injection.
How urgent is CVE-2022-29938?
Priority 54/100. High severity; 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.