Technical impact
OpenEMR before version 8.3.0 contains an authorization bypass in its patient portal onsitedocuments API that allows an authenticated patient to modify query parameters, bypassing patient scoping and locked filters. By sending empty pid_Equals and denialReason_IsNotLike parameters, the attacker can read other patients’ documents, including consent bodies, signatures, file paths and template data. This results in a privilege escalation that compromises confidentiality of patient records, identified as CWE‑639.
Affected Systems
The affected product is OpenEMR. All installations of OpenEMR version 8.2.x and earlier that expose the onsitedocuments API are vulnerable until an upgrade to 8.3.0 or later.
Risk and Exploitability
The vulnerability receives a CVSS score of 7.1, which the scoring framework rates as high severity. Because the flaw only requires authenticated access, any patient‑portal user could potentially exploit it; this inference is based on the described permission model. Attackers would need to construct an API request that clears the patient‑specific filters, an action that is straightforward given the described parameter manipulation. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, so there is no current evidence of widespread exploitation, but the lack of a patch still presents a significant risk to organizations that run the vulnerable versions.