---
title: "openemr/openemr: functions and files changed by CVE fixes"
url: https://radicalnotion.ai/fixes/openemr/openemr
type: fixes-repository
description: "156 CVE fixes in openemr/openemr changed 313 functions across 316 files."
updated: 2026-11-05
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# openemr/openemr: patched functions

- **CVEs with a located fix:** 156
- **Functions patched:** 313
- **Files patched:** 316
- **Diff hunks:** 3,830
- **Languages:** php, javascript, html, sql
- **Rank by CVE fixes:** 21 of 12,313
- **First fix:** 2017-08-01
- **Latest fix:** 2026-11-05
- **Repository:** [https://github.com/openemr/openemr](https://github.com/openemr/openemr)

## Typical fix size

- Median lines changed per fix: 46
- Fixes touching a single function: 27%
- Fixes under 20 changed lines: 35%

## Most-patched functions

| Function | File | CVEs | Patches | Last fixed |
| --- | --- | --- | --- | --- |
| [doOneDay](https://radicalnotion.ai/fixes/openemr/openemr/doOneDay) | portal/find\_appt\_popup\_user.php | 17 | 4 | 2023-05-27 |
| [getDocument](https://radicalnotion.ai/fixes/openemr/openemr/getDocument) | portal/import\_template\_ui.php | 6 | 4 | 2018-08-15 |
| [narrative](https://radicalnotion.ai/fixes/openemr/openemr/narrative) | interface/forms/eye\_mag/report.php | 5 | 4 | 2026-11-05 |
| [setMyPatient](https://radicalnotion.ai/fixes/openemr/openemr/setMyPatient) | interface/patient\_file/summary/demographics.php | 5 | 4 | 2022-12-19 |
| [menu\_overhaul\_top](https://radicalnotion.ai/fixes/openemr/openemr/menu_overhaul_top) | interface/forms/eye\_mag/php/eye\_mag\_functions.php | 2 | 4 | 2019-10-21 |
| [check\_search\_str](https://radicalnotion.ai/fixes/openemr/openemr/check_search_str) | interface/de\_identification\_forms/find\_code\_popup.php | 15 | 3 | 2018-08-15 |
| [check\_search\_str](https://radicalnotion.ai/fixes/openemr/openemr/check_search_str) | interface/de\_identification\_forms/find\_immunization\_popup.php | 15 | 3 | 2018-08-15 |
| [npopup](https://radicalnotion.ai/fixes/openemr/openemr/npopup) | interface/billing/sl\_eob\_search.php | 15 | 3 | 2018-08-15 |
| [validateFile](https://radicalnotion.ai/fixes/openemr/openemr/validateFile) | portal/import\_template.php | 6 | 3 | 2018-08-15 |
| [gblTimeZones](https://radicalnotion.ai/fixes/openemr/openemr/gblTimeZones) | library/globals.inc.php | 4 | 3 | 2026-03-03 |
| [retrieve\_action](https://radicalnotion.ai/fixes/openemr/openemr/retrieve_action) | controllers/C\_Document.class.php | 2 | 3 | 2026-11-05 |
| [negate\_radio](https://radicalnotion.ai/fixes/openemr/openemr/negate_radio) | interface/forms/eye\_mag/a\_issue.php | 2 | 3 | 2026-03-25 |
| [exist\_lifestyle\_item](https://radicalnotion.ai/fixes/openemr/openemr/exist_lifestyle_item) | library/clinical\_rules.php | 1 | 3 | 2019-10-05 |
| [AjaxDropDownCode](https://radicalnotion.ai/fixes/openemr/openemr/AjaxDropDownCode) | library/ajax/payment\_ajax.php | 7 | 2 | 2026-11-05 |
| [edih\_disp\_archive\_restore](https://radicalnotion.ai/fixes/openemr/openemr/edih_disp_archive_restore) | library/edihistory/edih\_io.php | 7 | 2 | 2026-11-05 |

## Most-patched files

| File | CVEs | Functions |
| --- | --- | --- |
| portal/add\_edit\_event\_user.php | 18 | 0 |
| portal/find\_appt\_popup\_user.php | 17 | 2 |
| interface/billing/sl\_eob\_search.php | 16 | 3 |
| interface/de\_identification\_forms/find\_code\_popup.php | 15 | 2 |
| interface/de\_identification\_forms/find\_immunization\_popup.php | 15 | 2 |
| interface/fax/fax\_dispatch.php | 15 | 1 |
| interface/super/manage\_site\_files.php | 13 | 1 |
| .phpstan/baseline/argument.type.php | 13 | 0 |
| interface/de\_identification\_forms/find\_drug\_popup.php | 12 | 2 |
| patients/find\_appt\_popup\_user.php | 12 | 2 |

## Latest CVE fixes

| CVE | Title | Severity | CVSS | CISA KEV | Functions changed | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-102940 | OpenEMR: Missing Write ACL Allows Unauthorized Document Reassignment | critical | 9.6 | No | aclCheckCore, storeAuthorizationInfo, is\_numeric | 2026-11-05 |
| CVE-2026-103021 | OpenEMR: Username Enumeration via Pre-Authentication User Settings Loading | medium | 5.3 | No | userSessionLogout, buildLogoutRedirectIfAllowlisted | 2026-11-05 |
| CVE-2026-103020 | OpenEMR: Unauthenticated Information Disclosure in admin.php Exposes Database Names and Versions | medium | 5.3 | No | userSessionLogout, buildLogoutRedirectIfAllowlisted | 2026-11-05 |
| CVE-2026-103019 | OpenEMR: Unauthenticated Open Redirect via OIDC End Session Endpoint | medium | 4.3 | No | userSessionLogout, buildLogoutRedirectIfAllowlisted | 2026-11-05 |
| CVE-2026-104134 | OpenEMR: Missing authorization in person-search AJAX leaks patient demographics (name, DOB, phone, email) | medium | 6.5 | No | AjaxDropDownCode, edih\_disp\_archive\_restore | 2026-11-05 |
| CVE-2026-103939 | OpenEMR: Weno \`file\_download.php\`: missing ACL/CSRF truncates the e-prescribing pharmacy directory | medium | 5.4 | No | voidwrap, write\_old\_payment\_line, ajax | 2026-11-05 |
| CVE-2026-104138 | OpenEMR: Missing authorization on QRDA Category I/III download endpoints | medium | 6.5 | No | AjaxDropDownCode, edih\_disp\_archive\_restore | 2026-11-05 |
| CVE-2026-115573 | OpenEMR: Broken Access Control in controller.php Enables Insurance Routing Credential Hijack and PHI Enumeration | high | 8.1 | No | checkControllerAcl, Controller | 2026-11-05 |
| CVE-2026-104133 | OpenEMR: Missing authorization in DORN \`compendium\_install.php\` — non-admin destructive lab-compendium reinstall | high | 7.1 | No | AjaxDropDownCode, edih\_disp\_archive\_restore | 2026-11-05 |
| CVE-2026-103935 | OpenEMR: Stored XSS via \`text()\` Misuse in Double-Quoted HTML Attribute | high | 8.1 | No | checkVal, voidme, narrative | 2026-11-05 |
| CVE-2026-104135 | OpenEMR: Missing authorization in payment patient-search AJAX leaks patient directory and dates of birth | medium | 6.5 | No | AjaxDropDownCode, edih\_disp\_archive\_restore | 2026-11-05 |
| CVE-2026-104136 | OpenEMR: Arbitrary Patient Recall and Contact Detail Read | high | 7.1 | No | save\_recall, delete\_Recall, process\_this | 2026-11-05 |

## Frequently asked questions

### How many CVEs have a located fix in openemr/openemr?

156 published CVEs have a fix traced to functions in openemr/openemr, touching 313 functions across 316 files.

### Which function in openemr/openemr has been patched most often?

doOneDay in portal/find\_appt\_popup\_user.php has been changed by 4 distinct patches, fixing 17 CVEs, from 2018 to 2023.

### How large is a typical CVE fix in openemr/openemr?

The median fix changes 46 lines. 35% of fixes change 20 lines or fewer, and 27% change a single function.

### How is a fix located to a function?

The upstream fix commit for each CVE is fetched and its diff is split into hunks. Each hunk is attributed to the function, method or type it changes, using the definition the diff itself names. Backports of the same fix to stable branches are counted once.

## Similar repositories

- [django/django](https://radicalnotion.ai/fixes/django/django) (154 CVEs)
- [discourse/discourse](https://radicalnotion.ai/fixes/discourse/discourse) (159 CVEs)
- [liferay/liferay-portal](https://radicalnotion.ai/fixes/liferay/liferay-portal) (159 CVEs)
- [WWBN/AVideo](https://radicalnotion.ai/fixes/wwbn/avideo) (159 CVEs)
- [apache/tomcat](https://radicalnotion.ai/fixes/apache/tomcat) (161 CVEs)
- [jenkinsci/jenkins](https://radicalnotion.ai/fixes/jenkinsci/jenkins) (167 CVEs)
- [FreeRDP/FreeRDP](https://radicalnotion.ai/fixes/freerdp/freerdp) (145 CVEs)
- [MISP/MISP](https://radicalnotion.ai/fixes/misp/misp) (169 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/fixes/openemr/openemr). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
