Description
OpenEMR before 8.3.0 contains an insecure direct object reference vulnerability in portal/lib/persist.php that allows authenticated portal patients to write settings for other patients. Attackers can modify the setting_patient parameter in a JSON POST request to another patient's PID, altering that patient's portal settings such as the portal theme.
Published: 2026-11-08
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: Unauthorized modification of other patients’ portal settings via IDOR
Action: Update
AI Analysis

Impact

OpenEMR before 8.3.0 includes an insecure direct object reference flaw in portal/lib/persist.php that lets an authenticated portal patient modify the setting_patient field in a JSON POST request. This change can reference another patient’s ID and alter that patient’s portal settings, such as the theme, without permission. The vulnerability is a classic IDOR (CWE-639) that allows an attacker to tamper with data belonging to other users, potentially undermining the confidentiality of patient preferences and the integrity of the application’s state.

Affected Systems

The vendor is OpenEMR and the affected product is OpenEMR. All installations of OpenEMR prior to version 8.3.0 are vulnerable. No specific patchlevel is listed beyond the 8.3.0 boundary, so any release earlier than 8.3.0 is at risk.

Risk and Exploitability

The CVSS score of 7.1 signals a high impact attack vector when the attacker already has an authenticated portal session. The EPSS score is not available, so the current likelihood of exploitation is unknown, but the flaw is not listed in the CISA KEV catalog. The attack most likely occurs via a benign-looking POST request from a victim’s own portal session, meaning users with legitimate accounts can inadvertently facilitate exploitation. Due to the nature of the IDOR, once the attacker manipulates the setting_patient parameter, they can change any other patient’s settings without further interaction, making the modification permanent unless reversed.

Generated by OpenCVE AI on November 8, 2026 at 14:22 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.3.0 or later to eliminate the IDOR bug.
  • If upgrading is delayed, implement server‑side validation that guarantees the setting_patient value matches the authenticated user’s patient ID or reject requests that do not follow this rule.
  • Audit and restrict access to the persist.php endpoint, ensuring that only authorized roles can call it, and consider disabling the endpoint for portal patients altogether if no legitimate use exists.

Generated by OpenCVE AI on November 8, 2026 at 14:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 08 Nov 2026 13:30:00 +0000

Type Values Removed Values Added
Description OpenEMR before 8.3.0 contains an insecure direct object reference vulnerability in portal/lib/persist.php that allows authenticated portal patients to write settings for other patients. Attackers can modify the setting_patient parameter in a JSON POST request to another patient's PID, altering that patient's portal settings such as the portal theme.
Title OpenEMR before 8.3.0 IDOR in Portal Patient Settings via persist.php
First Time appeared Open-emr
Open-emr openemr
Weaknesses CWE-639
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Open-emr Openemr
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-08T13:15:43.764Z

Reserved: 2026-11-08T02:14:31.305Z

Link: CVE-2026-124453

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-08T14:18:12.790

Modified: 2026-11-08T14:18:12.790

Link: CVE-2026-124453

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T15:30:16Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key