What’s Vulnerable › Vulnerabilities
CVE-2026-40509: OpenEMR < 8.3.0 CSRF via DICOM Viewer web_path Parameter
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-19 · updated 2026-10-27
- Weakness: CWE-352
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
- openemr: before 8.3.0 — fixed in 8.3.0
How to fix
Upgrade to a fixed version: openemr 8.3.0. Check the vendor advisory for mitigations.
References
- https://github.com/openemr/openemr/commit/f760adc7bddaf9d118e1a0d40590e686783ed21b
- https://github.com/openemr/openemr/releases/tag/v8_3_0
- https://github.com/openemr/openemr/security/advisories/GHSA-wffp-pj5h-xqwp
- https://www.vulncheck.com/advisories/openemr-csrf-via-dicom-viewer-web-path-parameter
Get alerted when CVE-2026-40509 or the next vulnerability affects your stack