Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft DICOM with text/html MIME tag
-
DeliveryUpload to PACS or serve via DICOMweb
-
ExploitVictim opens Encapsulated PDF study
-
ExecutionBlob parsed as same-origin HTML
-
ImpactSteal auth tokens and issue PACS requests
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to open a study whose SOP Class is Encapsulated PDF (1.2.840.10008.5.1.4.1.1.104.1) rendered by OHIF's dicom-pdf extension, which is default in the standard modes. The attacker must control the DICOM instance's MIMETypeOfEncapsulatedDocument (0042,0012) tag - setting it to text/html - and the EncapsulatedDocument (0042,0011) bytes, delivered by opening a local .dcm, uploading to a shared PACS, or operating/compromising a DICOMweb source. Limiting factors: required user interaction (a victim must actually open the malicious study, UI:R); the dicom-pdf extension and the Encapsulated PDF SOP class must be in use; and affected versions are 3.5.0-beta.0 up to the patched 3.12.x/3.13.x/3.14 betas. No authentication is needed to craft the object (PR:N), and the local-file and DICOMweb paths need no server, so the practical gate is persuading the victim to view the study. |
| Impact | This is a genuine, well-substantiated DOM-based XSS (CWE-79, with CWE-434/CWE-436 interpretation-conflict elements) confirmed in detail by the vendor's own GHSA-xwgp-w3pj-q5h3 advisory, PR #6228, and the fixing commits, so the mechanism is not in doubt. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L = 8.8 High) is internally consistent with the description: network-delivered malicious DICOM, no attacker privileges, required victim interaction (opening the study), and a scope change because the blob: URL inherits the OHIF origin and can reach other same-DNS apps and the PACS backend. Weighing the signals: the vuln.today decision label is 'this_week' (not act_now/emergency); there is no CISA KEV listing (not confirmed actively exploited) and no EPSS score was supplied, so exploitation-probability cannot be quantified from the input. No public working exploit is identified, though the advisory publishes the complete source-to-sink taint path, which materially lowers the barrier to building one. The UI:R requirement is a real dampener on raw severity, but in a clinical PACS/DICOMweb workflow opening studies is routine, so that interaction is realistically obtained. Net: a real same-week priority for OHIF operators handling untrusted DICOM, driven by severity and detailed public disclosure rather than by evidence of in-the-wild attacks. |
| Exploit ScenarioDerived | An attacker crafts an Encapsulated PDF DICOM object whose MIMETypeOfEncapsulatedDocument tag is set to text/html and whose EncapsulatedDocument bytes contain a script payload, then emails the .dcm, uploads it to a shared PACS, or serves it from a DICOMweb source. When a clinician opens the study, the dicom-pdf extension wraps the bytes in a Blob typed text/html and embeds it via an <object>, so the browser parses it as HTML in the OHIF origin and runs the embedded script. No public working exploit is identified, but the vendor advisory documents the full taint path; exploitation needs network delivery (AV:N), low complexity (AC:L), no privileges (PR:N), and the victim opening the study (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
DOM-based cross-site scripting in the OHIF Viewers dicom-pdf extension lets an attacker who controls a DICOM Encapsulated PDF instance run arbitrary script inside the viewer's own origin, exposing session storage, authentication tokens and same-origin PACS requests. The viewer reads the attacker-supplied MIMETypeOfEncapsulatedDocument (0042,0012) tag without validation and uses it as the Blob media type for the attacker-controlled document bytes, which are then embedded in an object element; a blob labelled text/html is parsed as HTML despite the application/pdf hint. Affected builds range from 3.5.0-beta.0 up to source tags 3.12.15, 3.13.7 and 3.14.0-beta.19 (npm @ohif/extension-dicom-pdf 3.12.18, 3.13.10, 3.14.0-beta.36), and exploitation requires the victim to open a malicious study - delivered as a local .dcm, via a shared PACS, or through a DICOMweb source - so no public exploit has been identified at time of analysis, though the vendor advisory and fix commits document the mechanism in full.
RemediationAI
Upgrade to a patched release: npm consumers of @ohif/extension-dicom-pdf should move to 3.12.18, 3.13.10 or 3.14.0-beta.36, while source builds are fixed from tags 3.12.15, 3.13.7 and 3.14.0-beta.19 respectively (fix at https://github.com/OHIF/Viewers/pull/6228, advisory at https://github.com/OHIF/Viewers/security/advisories/GHSA-xwgp-w3pj-q5h3). Because versions 3.5 through 3.11 will not receive a fix, installations on those branches must upgrade to a patched 3.12, 3.13 or 3.14 release. The fix resolves the declared MIME type against a displayable-type allowlist, re-wraps the payload in a Blob of the canonical type, verifies the payload matches the type's magic-number signature, and renders any HTML document through a fully restricted sandboxed iframe instead of an unsandboxable object element; no separate workaround is documented beyond patching, other than not exposing the dicom-pdf extension or the Encapsulated PDF SOP class to untrusted DICOM sources.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
DICOM Encapsulated Documents (SOP Class 1.2.840.10008.5.1.4.1.1.104.1) carry a declared MIME type in tag (0042,0012) alongside the raw payload in (0042,0011). OHIF's dicom-pdf extension passed that declared type straight through as the Blob type when constructing an object URL, in three paths: the local DicomLocalDataSource directURL handler, DICOMweb InlineBinary decoding via b64toBlob, and DICOMweb bulk data retrieval. A blob: URL persists the MIME type set at construction, and the browser selects the handler from that stored Content-Type; the <object type="application/pdf"> attribute in OHIFCornerstonePdfViewport.tsx is only a pre-load hint, so a blob built as text/html is rendered as an HTML document. Because blob: URLs inherit the creating page's origin, any script in that document executes in the OHIF origin. This is a classic interpretation conflict (CWE-436) and dangerous-file-type acceptance (CWE-434) surfacing as CWE-79 DOM XSS: user-controlled data reaches a client-side sink without validation. The upstream fix (PR #6228) adds a displayable-type allowlist that normalises and canonicalises the declared MIME type, re-wraps the payload in a Blob of the canonical type so the instance cannot steer browser parsing, checks the payload against the type's magic-number signature, and renders HTML through a fully restricted sandboxed iframe rather than an unsandboxable object element.
Know when Viewers gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L
Attacker-controlled DICOM is network-delivered with no privileges (AV:N/PR:N) but the victim must open the study (UI:R); the blob inherits the OHIF origin to reach other apps and PACS, so S:C with C:H for stolen tokens.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
OHIF Viewers is a zero-footprint DICOM viewer with shared extension packages. From 3.5.0-beta.0 until 3.12.15, 3.13.7, and 3.14.0-beta.19, the dicom-pdf extension reads the attacker-controlled MIMETypeOfEncapsulatedDocument value in extensions/dicom-pdf/src/getSopClassHandlerModule.js and uses it as the Blob media type for the attacker-controlled EncapsulatedDocument bytes. When a victim opens Encapsulated PDF SOP Class 1.2.840.10008.5.1.4.1.1.104.1, extensions/dicom-pdf/src/viewports/OHIFCornerstonePdfViewport.tsx embeds the Blob URL in an object element. A Blob labeled as HTML is handled as HTML despite the application/pdf object hint, and the Blob inherits the OHIF origin, allowing embedded script to access session storage, authentication tokens, and same-origin PACS requests. The malicious DICOM object may be opened locally, uploaded to a shared PACS, or supplied by a DICOMweb source. This issue is fixed in source versions 3.12.15, 3.13.7, and 3.14.0-beta.19.
Technical POC Analysis
CWE-79 (DOM-based XSS).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
OHIF Viewers, a widely used medical imaging platform, contains a high-severity DOM-based cross-site scripting vulnerability (CVE-2026-118670, CVSS 8.8) that allows an attacker controlling a DICOM Encapsulated PDF to execute arbitrary scripts within the viewer's origin. This exposes critical clinical and authentication data-including session tokens and PACS requests-potentially leading to unauthorized access to patient records and disruption of radiology workflows. Healthcare delivery organizations using affected OHIF versions must prioritize remediation to protect patient privacy and maintain clinical operations.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-118385
GHSA-xwgp-w3pj-q5h3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB