Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/openemr/openemr/commit/f760adc7bddaf9d118e1a0d40590e686783ed2
- 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-para
FAQ
What is CVE-2026-40509?
CVE-2026-40509 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 ag...
How severe is CVE-2026-40509?
CVE-2026-40509 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-40509?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.