nday
CVE-2026-118670 GHSA-xwgp-w3pj-q5h3

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

OHIF / Viewers

Fecha de divulgación: . Versiones corregidas: @ohif/extension-dicom-pdf 3.12.18, @ohif/extension-dicom-pdf 3.13.10 y 1 más. Ninguna de las cuatro fuentes de PoC la recoge. No figura en el KEV de CISA.

tags weakness typeXSS accessnetworkno authentication required ecosystemnpm
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

XSS
CWE-79, stated by the CNA GitHub_M, NVD, republishing [email protected] y GitHub advisory GHSA-xwgp-w3pj-q5h3
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L (CVSS 3.1) from the CNA GitHub_M
npm
GHSA-xwgp-w3pj-q5h3: npm packages @ohif/extension-dicom-pdf
etapa
PAT
divulgación
cvss
8.8 HIGH v3.1

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
11-06T17:29Z
PATparcheada
@ohif/extension-dicom-pdf 3.12.18 +2 más
ANAanalizada
sin registro aún
POCPoC
sin registro aún
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Registro de eventos

+DISdivulgación

GitHub_M publicó el registro CVE. CVSS 8.8, severidad alta.

fuente cvelist · nday , importación masiva · en bruto
{
  "id": 6000,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-118670",
  "occurred_at": "2026-11-06T17:29:15.266Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L",
      "version": "3.1",
      "base_score": 8.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-11-06T17:47:36.194512Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-06T17:29:15.266Z",
    "assigner_short_name": "GitHub_M"
  }
}
se desconocela fuente no indica fecha
+PATparche registrado

Versiones corregidas según el aviso: @ohif/extension-dicom-pdf 3.12.18, @ohif/extension-dicom-pdf 3.13.10 y @ohif/extension-dicom-pdf 3.14.0-beta.36. El aviso enlaza los commits de la corrección. Aviso publicado el ; no consta cuándo se publicó el parche en sí.

fuente ghsa GHSA-xwgp-w3pj-q5h3 · nday , importación masiva · en bruto
{
  "id": 19075,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-xwgp-w3pj-q5h3",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:03:36.174798Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-xwgp-w3pj-q5h3",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 8.8,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Neutralization of Input During Web Page Generation",
        "cwe_id": "CWE-79"
      }
    ],
    "ghsa_id": "GHSA-xwgp-w3pj-q5h3",
    "packages": [
      {
        "name": "@ohif/extension-dicom-pdf",
        "ecosystem": "npm",
        "first_patched_version": "3.12.18",
        "vulnerable_version_range": ">= 3.5.0-beta.0, < 3.12.18"
      },
      {
        "name": "@ohif/extension-dicom-pdf",
        "ecosystem": "npm",
        "first_patched_version": "3.13.10",
        "vulnerable_version_range": ">= 3.13.0-beta.0, < 3.13.10"
      },
      {
        "name": "@ohif/extension-dicom-pdf",
        "ecosystem": "npm",
        "first_patched_version": "3.14.0-beta.36",
        "vulnerable_version_range": ">= 3.14.0-beta.0, < 3.14.0-beta.36"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/OHIF/Viewers/security/advisories/GHSA-xwgp-w3pj-q5h3",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-118670",
      "https://github.com/OHIF/Viewers/pull/6228",
      "https://github.com/OHIF/Viewers/commit/db546701bd5f2be9031c835f1de5c40aacd3dc62",
      "https://github.com/OHIF/Viewers/commit/ef0811c66cdb04ba07ffaba145cf66ce01486899",
      "https://github.com/OHIF/Viewers/commit/f0dba789a313f40fe7e8a8cbec322a8d8a491d76",
      "https://github.com/OHIF/Viewers/releases/tag/v3.12.15",
      "https://github.com/OHIF/Viewers/releases/tag/v3.13.7",
      "https://github.com/OHIF/Viewers/releases/tag/v3.14.0-beta.19",
      "https://github.com/advisories/GHSA-xwgp-w3pj-q5h3"
    ],
    "fix_commit_urls": [
      "https://github.com/OHIF/Viewers/pull/6228",
      "https://github.com/OHIF/Viewers/commit/db546701bd5f2be9031c835f1de5c40aacd3dc62",
      "https://github.com/OHIF/Viewers/commit/ef0811c66cdb04ba07ffaba145cf66ce01486899",
      "https://github.com/OHIF/Viewers/commit/f0dba789a313f40fe7e8a8cbec322a8d8a491d76"
    ],
    "github_reviewed_at": "2026-11-10T15:57:51Z",
    "advisory_updated_at": "2026-11-10T15:57:54Z",
    "source_code_location": "https://github.com/OHIF/Viewers",
    "advisory_published_at": "2026-11-10T15:57:51Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.