CVE-2026-40509: OpenEMR < 8.3.0 CSRF via DICOM Viewer web_path Parameter

Published Aug 19, 2026
·
Updated

OpenEMR before 8.3.0 contains a cross-site request forgery vulnerability in the DICOM viewer. The webpath 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.

Affected Software

1 affected component
OpenEMR OpenEMR<8.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenEMR to a version that resolves this vulnerability.

    Fixed in 8.3.0
  2. Compensating control

    If you cannot upgrade immediately, mitigate CSRF impact in the OpenEMR DICOM viewer by preventing cross-site requests (e.g., enforce CSRF protections at the application layer for DICOM viewer endpoints and restrict external/untrusted origins from accessing them).

Event History

Aug 19, 2026
CVE Published
via MITRE·02:53 PM
Data Sourced
via MITRE·02:53 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which users are exposed to exploitation?

An attacker must induce an authenticated OpenEMR user who has Patients - Documents permissions to visit a crafted URL. Users without an authenticated session and the specified permission are not described as able to trigger the affected requests.

2

What does an attacker need to exploit this issue?

The attacker needs to craft a URL using the DICOM viewer's web_path GET parameter and persuade a targeted authenticated user to open it. No attacker authentication or pre-existing privileges are indicated.

3

What can an attacker do through the vulnerability?

The crafted URL can cause the victim's browser to make authenticated requests to arbitrary OpenEMR endpoints. The reported impacts include forced logout and other state-changing actions available through the victim's session.

4

Which versions need remediation?

OpenEMR versions before 8.3.0 are affected. Updating to version 8.3.0 or later addresses the reported vulnerable version range.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203