{"cve":"CVE-2026-40509","nvd":{"published":"2026-08-19T15:17:01.867","modified":"2026-10-27T13:10:00.360","status":"Deferred","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_v4":{"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","score":5.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3},"cwes":["CWE-352"],"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"],"products":[],"source":"nvd","synced_at":"2026-10-27T13:36:07.289888057+00:00"},"epss":{"cve":"CVE-2026-40509","score":0.0019,"percentile":0.0852,"date":"2026-10-26"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}