# CVE-2024-22611: OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\CPharmacy.class.php and \openemr…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.31%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-03T00:00:00.000Z
- Modified: 2026-06-17T07:11:36.090Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.class.php and \openemr\controller.php.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- open-emr openemr: 7.0.2

## References

- <https://github.com/baolqinfosec/CVE-Reseach/blob/main/OpenERM_CVE-2024-22611.md> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2024-22611](https://www.cve.org/CVERecord?id=CVE-2024-22611), CVE Terms of Use, modified 2025-04-04
- NVD: [CVE-2024-22611](https://nvd.nist.gov/vuln/detail/CVE-2024-22611), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-22611 · Whole record: https://cve.day/CVE-2024-22611.json · Rebuilt by cve.day 2026-11-25T22:58:52.475Z
