CVE-2026-40509
OpenEMR before 8.3.0 contains a cross-site request forgery …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/openemr/openemr/commit/f760adc7bddaf9d118e1a0d40590e686783ed21b
- github.com/openemr/openemr/releases/tag/v8_3_0
- github.com/openemr/openemr/security/advisories/GHSA-wffp-pj5h-xqwp
- www.vulncheck.com/advisories/openemr-csrf-via-dicom-viewer-web-path-parameter
- nvd.nist.gov/vuln/detail/CVE-2026-40509
- cve.org/CVERecord?id=CVE-2026-40509
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.