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

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

OHIF / Viewers

Divulgation : . Versions corrigées : @ohif/extension-dicom-pdf 3.12.18, @ohif/extension-dicom-pdf 3.13.10 et une autre. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

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] et 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
étape actuelle
PAT
divulgation
CVSS
8.8 HIGH v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
11-06T17:29Z
PATcorrectif
@ohif/extension-dicom-pdf 3.12.18 +2 autres
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 8.8, gravité élevée.

source cvelist · importé en masse par nday le · brut
{
  "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"
  }
}
date inconnuela source ne donne aucune date
+PATcorrectif disponible

L’avis indique les versions corrigées @ohif/extension-dicom-pdf 3.12.18, @ohif/extension-dicom-pdf 3.13.10 et @ohif/extension-dicom-pdf 3.14.0-beta.36. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-xwgp-w3pj-q5h3 · importé en masse par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.