{"id":"CVE-2026-40509","summary":"OpenEMR \u003c 8.3.0 CSRF via DICOM Viewer web_path Parameter","details":"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.","aliases":["GHSA-wffp-pj5h-xqwp"],"modified":"2026-09-11T03:30:54.570709142Z","published":"2026-08-19T14:53:21.612Z","database_specific":{"cwe_ids":["CWE-352"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40509.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40509.json"},{"type":"ADVISORY","url":"https://github.com/openemr/openemr/releases/tag/v8_3_0"},{"type":"ADVISORY","url":"https://github.com/openemr/openemr/security/advisories/GHSA-wffp-pj5h-xqwp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40509"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openemr-csrf-via-dicom-viewer-web-path-parameter"},{"type":"FIX","url":"https://github.com/openemr/openemr/commit/f760adc7bddaf9d118e1a0d40590e686783ed21b"},{"type":"PACKAGE","url":"https://github.com/openemr/openemr"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openemr/openemr","events":[{"introduced":"0"},{"fixed":"ebb62eb3036a726314ab3e1c3e9263a41608b17b"},{"fixed":"f760adc7bddaf9d118e1a0d40590e686783ed21b"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"8.3.0"}]}}],"versions":["v3_0_1","v3_0_0","v2_9_0","v2_8_3","v2_8_2","v2_8_1","v2_8_0","v2_7_3-rc1","v2_7_2","v2_7_2-rc2","v2_7_2-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40509.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}