CVE-2026-118670Ohif Viewers cross-site scripting (XSS)
CVSS score
8.8
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.42%
0.42% chance of exploitation in the next 30 days, higher than 37.1% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running OHIF Viewers and compare its version with the affected versions.
Update to a fixed version
- Update Viewers to 3.12.15, 3.13.7, 3.14.0-beta.19 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- Low
- Availability
- Low
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L
Affected products
| Affected products | Versions |
|---|---|
| OHIF Viewers | >= 3.5.0-beta.0, < 3.12.15 · >= 3.13.0-beta.0, < 3.13.7 · >= 3.14.0-beta.0, < 3.14.0-beta.19 |
Weakness
- CWE-79 cross-site scripting (XSS)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-118670 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-118670?
CVE-2026-118670 has a CVSS 3.1 base score of 8.8 (high).
Which versions are affected?
Ohif Viewers (>= 3.5.0-beta.0, < 3.12.15; >= 3.13.0-beta.0, < 3.13.7; >= 3.14.0-beta.0, < 3.14.0-beta.19)
Is there a patch for CVE-2026-118670?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/OHIF/Viewers/commit/db546701bd5f2be9031c835f1de5c40aacd3dc62
- github.com/OHIF/Viewers/commit/ef0811c66cdb04ba07ffaba145cf66ce01486899
- github.com/OHIF/Viewers/commit/f0dba789a313f40fe7e8a8cbec322a8d8a491d76
- github.com/OHIF/Viewers/pull/6228
- github.com/OHIF/Viewers/releases/tag/v3.12.15
- github.com/OHIF/Viewers/releases/tag/v3.13.7
- github.com/OHIF/Viewers/releases/tag/v3.14.0-beta.19
- github.com/OHIF/Viewers/security/advisories/GHSA-xwgp-w3pj-q5h3
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.