Description
OpenEMR before 8.3.0 contains a cross-site request forgery vulnerability in the DICOM viewer. The web_path GET parameter in the DICOM viewer page is embedded unsanitized as a URL without validation against expected path formats. An attacker can craft a URL that causes an authenticated user with Patients - Documents permissions to make authenticated requests to arbitrary OpenEMR endpoints, enabling forced logout and other state-changing actions.
Published: 2026-08-19
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OpenEMR before 8.3.0 contains a CSRF flaw in the DICOM viewer. The web_path GET parameter is embedded as a URL without validation, allowing an attacker to craft a link that forces an authenticated user with Patients‑Documents permissions to make arbitrary requests to OpenEMR endpoints, such as forced logout or other state‑changing actions.

Affected Systems

All installations of OpenEMR that use a version earlier than 8.3.0 and expose the DICOM viewer functionality are affected. Users granted the Patients‑Documents role are the primary targets.

Risk and Exploitability

The CVSS score of 5.3 denotes moderate severity. The EPSS score is not available, so the probability of exploitation is uncertain, but the attack requires a victim to visit a malicious URL in a browser. The vulnerability is not listed in the CISA KEV catalog, indicating no widespread exploitation at this time. The likely attack vector is an authenticated user’s browser session that receives a crafted link from an attacker.

Generated by OpenCVE AI on August 19, 2026 at 17:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to OpenEMR version 8.3.0 or later to implement proper input validation for the web_path parameter.
  • Restrict DICOM viewer access to only users with the necessary Patients‑Documents role and revoke unnecessary permissions.
  • After upgrading, audit application logs for any unauthorized or unexpected authenticated requests that may have occurred before the patch.

Generated by OpenCVE AI on August 19, 2026 at 17:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Openemr
Openemr openemr
Vendors & Products Openemr
Openemr openemr

Wed, 19 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
Description OpenEMR before 8.3.0 contains a cross-site request forgery vulnerability in the DICOM viewer. The web_path GET parameter in the DICOM viewer page is embedded unsanitized as a URL without validation against expected path formats. An attacker can craft a URL that causes an authenticated user with Patients - Documents permissions to make authenticated requests to arbitrary OpenEMR endpoints, enabling forced logout and other state-changing actions.
Title OpenEMR < 8.3.0 CSRF via DICOM Viewer web_path Parameter
Weaknesses CWE-352
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-19T14:53:21.612Z

Reserved: 2026-04-13T20:29:02.809Z

Link: CVE-2026-40509

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-19T15:17:01.867

Modified: 2026-08-19T15:17:01.867

Link: CVE-2026-40509

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-19T17:30:16Z

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)