Technical impact
The vulnerability is a missing authorization check in OpenEMR's portal onsite-document APIs. Any authenticated core user can omit the patientId parameter and supply arbitrary record IDs to list, read, and overwrite other patients' portal documents, signatures, and template data. This flaw permits unauthorized disclosure and tampering of patient records, compromising their confidentiality and integrity.
Affected Systems
This issue affects OpenEMR versions prior to 8.4.0. Users running any build before the 8.4.0 release are susceptible; newer releases include the authorization fix.
Risk and Exploitability
The CVSS score of 8.7 classifies this flaw as High severity. The EPSS score is not available, and it is not listed in the CISA KEV catalog, but the lack of an authorization check makes exploitation straightforward for any authenticated user. Attackers need only authenticated access and can issue crafted HTTP requests to the API endpoints without a patientId, allowing them to read or modify other patients' documents, signatures, and template data. The vulnerability is exploitable over the network from any location that can reach the OpenEMR instance.