CVE-2026-40509
published medium CVSS 4.0 · 5.3OpenEMR < 8.3.0 CSRF via DICOM Viewer web_path Parameter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| openemr | — | openemr0 to < 8.3.0 · Other versions: affected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| openemr | openemr | 0 to < 8.3.0 (affected · semver)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-352 Cross-Site Request Forgery (CSRF)
References
4- Patch Commit https://github.com/openemr/openemr/commit/f760adc7bddaf9d118e1a0d40590e686783ed21b
- OpenEMR v8_3_0 Release Notes https://github.com/openemr/openemr/releases/tag/v8_3_0
- GitHub Security Advisory (GHSA-wffp-pj5h-xqwp) https://github.com/openemr/openemr/security/advisories/GHSA-wffp-pj5h-xqwp
- https://www.vulncheck.com/advisories/openemr-csrf-via-dicom-viewer-web-path-parameter
Provider assertions
2VulnCheck · cna
OpenEMR < 8.3.0 CSRF via DICOM Viewer web_path Parameter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7d739ba5d172f07a55ca53ca6ec35632b65d844958fe93e9d626f595abdf4fba
- Ingested
- 01 Oct 2026, 18:31:22 UTC
- Source record
- Official CVE record