CVE-2026-118670: OHIF Viewers · DOM-Based Cross Site Scripting (XSS) through MIME type of document
Affects @ohif/extension-dicom-pdfSource GCVE Database
Not known to be exploited · CVSS 8.8 High : upgrade to 3.12.18 soon.
Data as of 10 Nov 2026, 17:35 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 8.8 |
|---|
- Patch
- Available – fixed in 3.12.18, 3.13.10, 3.14.0-beta.36
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 6 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade @ohif/extension-dicom-pdf to 3.12.18; @ohif/extension-dicom-pdf to 3.13.10; @ohif/extension-dicom-pdf to 3.14.0-beta.36.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@ohif/extension-dicom-pdf | Affected
| Fixed in
|
| npm@ohif/extension-dicom-pdf | Affected
| Fixed in
|
| npm@ohif/extension-dicom-pdf | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied by upgrading @ohif/extension-dicom-pdf to version 3.12.18, 3.13.10, or 3.14.0-beta.36 or later. Versions 3.5 through 3.11 will not receive a fix and should be upgraded to a supported patched version. The fix ensures proper validation and handling of the MIMETypeOfEncapsulatedDocument tag to prevent injection of malicious MIME types. No additional mitigations are required if the patch is applied.
Description
A DOM-based Cross-Site Scripting (XSS) vulnerability exists in the OHIF Viewers' dicom-pdf extension when rendering Encapsulated PDF DICOM objects. The vulnerability arises from improper validation of the MIMETypeOfEncapsulatedDocument tag, allowing an attacker to control the MIME type of a Blob URL. This can lead to execution of attacker-supplied JavaScript in the context of the OHIF application origin when the victim opens a specially crafted DICOM study. The flaw affects versions prior to 3.12.18, 3.13.10, and 3.14.0-beta.36, with patches available in these and later versions.
References
- github.com/OHIF/Viewers/security/advisories/GHSA-xwgp-w3pj-q5h3 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-118670 (opens in a new tab)
- github.com/OHIF/Viewers/pull/6228 (opens in a new tab)
- github.com/OHIF/Viewers/commit/db546701bd5f2be9031c835f1de5c40aacd3dc62 (opens in a new tab)
- github.com/OHIF/Viewers/commit/ef0811c66cdb04ba07ffaba145cf66ce01486899 (opens in a new tab)
- github.com/OHIF/Viewers/commit/f0dba789a313f40fe7e8a8cbec322a8d8a491d76 (opens in a new tab)
- github.com/OHIF/Viewers (opens in a new tab)
- github.com/OHIF/Viewers/releases/tag/v3.12.15 (opens in a new tab)
- github.com/OHIF/Viewers/releases/tag/v3.13.7 (opens in a new tab)
- github.com/OHIF/Viewers/releases/tag/v3.14.0-beta.19 (opens in a new tab)