Skip to content
RedCVE

CVE-2026-118670Ohif Viewers cross-site scripting (XSS)

OHIFPublished:

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

  1. Check whether you're affected

    Find every system running OHIF Viewers and compare its version with the affected versions.

  2. 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.
  3. 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 productsVersions
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

  1. Published:
  2. 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

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.