All vulnerabilities

npm

CVE-2026-118670

OHIF Viewers: DOM-Based Cross Site Scripting (XSS) through MIME type of document

Severity
High 8.8
Published
10 Nov 2026
Last changed
10 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
3.12.18, 3.13.10, 3.14.0-beta.36
Exploit chance
0.4% in the next 30 daysHigher than 36% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Read data · Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L
Also known as
GHSA-xwgp-w3pj-q5h3
Sources
OSV.dev and GitHub

Description

An XSS (Cross-Site Scripting) vulnerability occurs when an attacker is able to inject their own JavaScript code into a web page's source, which is subsequently processed by the victim's browser. A common cause of this vulnerability is the failure to validate user-supplied data before displaying it within the vulnerable application without proper filtering. To exploit the vulnerability, an attacker must input HTML code into a vulnerable parameter containing structures that trigger the execution of JavaScript. The DOM XSS variant occurs when user-supplied data is processed by a client-side script; if this data is not handled correctly by the script itself, it becomes possible to inject additional JavaScript commands.

Attacker model: Any actor who can get a DICOM object in front of a victim — email a .dcm for local viewing, upload to a shared PACS, or operate/compromise a DICOMweb source.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
@ohif/extension-dicom-pdfnpm · osv:npm:@ohif/extension-dicom-pdf
  • From 3.5.0-beta.0 before 3.12.18
  • From 3.13.0-beta.0 before 3.13.10
  • From 3.14.0-beta.0 before 3.14.0-beta.36

About @ohif/extension-dicom-pdf

Weekly downloads (npm)
2,372npm, 24 Nov 2026

This is the only vulnerability in @ohif/extension-dicom-pdf in our list.

References