CVE-2026-12473

OHIF Viewers DICOM Server-Side request forgery

Published Jun 25, 2026 CVSS 4.0 · 8.3 High EPSS < 1% KEV · Not listed
Description
Two data sources (DICOMWebProxy and DICOMJSON) shipped in the default configuration fetch an arbitrary URL parameter without validation. A global authentication service in OHIF automatically injects the authenticated user's OIDC Bearer token into the resulting requests, sending it to the attacker-controlled server. DICOMweb data sources are not impacted.

Analysis

AI-generated

Technical impact

OHIF Viewer Framework contains two data source components, DicomWebProxyDataSource and DicomJSONDataSource, that accept arbitrary URL parameters without validation. When these components are used, the framework automatically injects the authenticated user's OIDC Bearer token into the outbound request. An attacker can supply a malicious URL as a parameter, causing the framework to fetch that URL and leak the token to an attacker‑controlled server. This Server Side Request Forgery (SSRF) can expose confidential authentication credentials and allow further path traversal or resource access through the injected token. The vulnerability does not directly enable code execution, but it provides a channel for credential theft and potential lateral movement within the client’s environment.

Affected Systems

Version 3.12.2 of the OHIF DICOM Web Viewer Framework addresses the SSRF flaw. Deployments running any earlier version are affected, particularly those that include the default DicomWebProxyDataSource or DicomJSONDataSource configurations with authentication enabled. The issue is specific to the OHIF DICOM Web Viewer Framework maintained by the Open Health Imaging Foundation and does not affect other vendors or unrelated products.

Risk and Exploitability

The flaw carries a CVSS score of 8.3, indicating a high severity. EPSS data is unavailable, but the lack of limited exploitation context suggests a moderate–high likelihood of attempts. The vulnerability is not currently listed in the CISA KEV catalog, but because an authenticated token is leaked, attack chains can be constructed in environments with allowed remote data sources. The attack vector can be inferred as an SSRF caused by passing a controlled URL to the data source components; an attacker would need to trigger this request, either by modifying the configuration or by submitting a form that includes the malicious URL. Once executed, the attacker receives the bearer token and can authenticate to downstream services with the victim’s privileges.

Remediation

Vendor Solution

The maintainer has fixed the reported vulnerability and released version 3.12.2 (2026-05-18). The fix is located at OHIF/Viewers#5985 (master), OHIF/Viewers#5978 (release/3.12). Users are recommended to upgrade to v3.12.2 or later. Operators who need dicomwebproxy or dicomjson in authenticated deployments must additionally configure the new dangerouslyAllowedOriginsForAuthenticatedEnvironments allowlist in app-config.js.


Vendor Workaround

Users running OHIF with authentication should remove ALL unused DicomWebProxyDataSource and DicomJSONDataSource configurations from the configuration file they are deploying with.


OpenCVE Recommended Actions

  • Upgrade to OHIF Viewer Framework v3.12.2 or later
  • Configure dangerouslyAllowedOriginsForAuthenticatedEnvironments allowlist in app-config.js for authenticated deployments
  • Remove all unused DicomWebProxyDataSource and DicomJSONDataSource configurations if they are not needed
  • Restrict network exposure of OHIF servers to trusted networks, apply firewall rules, or use VPNs for remote access

Generated by OpenCVE AI on June 25, 2026 at 22:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Open Health Imaging Foundation
Open Health Imaging Foundation dicom Web Viewer Framework
Vendors & Products Open Health Imaging Foundation
Open Health Imaging Foundation dicom Web Viewer Framework
Type Values Removed Values Added
Description Two data sources (DICOMWebProxy and DICOMJSON) shipped in the default configuration fetch an arbitrary URL parameter without validation. A global authentication service in OHIF automatically injects the authenticated user's OIDC Bearer token into the resulting requests, sending it to the attacker-controlled server. DICOMweb data sources are not impacted.
Title OHIF Viewers DICOM Server-Side request forgery
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N'}

cvssV4_0

{'score': 8.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
icscert
Published
Updated
Jun 26, 2026, 1:05 PM
Reserved
Jun 16, 2026, 8:16 PM
Status
Deferred
Published
Jun 25, 2026, 9:16 PM
Modified
Oct 25, 2026, 10:10 PM