Original 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 software
- OpenEMR < 8.3.0 Fixed in: 8.3.0 repository or package match
Details
- Published
- 2026-08-19
- Last modified
- 2026-10-02
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N- CWE
- CWE-352
- EPSS (30-day exploit probability)
- 0.19% (percentile 9)
References
- cve.org/CVE-2026-40509
- nvd.nist.gov/vuln/detail/CVE-2026-40509
- github.com/openemr/openemr/security/advisories/GHSA-wffp-pj5h-xqwp
- github.com/openemr/openemr/releases/tag/v8_3_0
- github.com/openemr/openemr/commit/f760adc7bddaf9d118e1a0d40590e686783ed21b
- www.vulncheck.com/advisories/openemr-csrf-via-dicom-viewer-web-path-parameter
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.