What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: openemr 8.3.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-40509 or the next vulnerability affects your stack