Cross-site request forgery in OpenEMR - CVE-2026-40509
Published: August 18, 2026 / Updated: September 14, 2026
Vulnerability details
The vulnerability allows a remote attacker to perform cross-site request forgery.
The vulnerability exists due to cross-site request forgery in /library/dicom_frame.php when handling a crafted web_path parameter in requests. A remote attacker can send a specially crafted URL to cause the victim's browser to make authenticated requests to arbitrary OpenEMR endpoints.
User interaction is required, and exploitation occurs in the context of an authenticated user with Patients - Documents permissions who visits the crafted URL.