---
id: CVE-2026-56670
title: >-
  ComfyUI is a modular diffusion model GUI, api and backend with a graph/nodes
  interface
summary: >-
  ComfyUI is a modular diffusion model GUI, api and backend with a graph/nodes
  interface. Prior to 0.28.0, the /view endpoint served uploaded SVG files
  inline because image/svg+xml and related XML content types were absent from
  the dangero…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N'
cwe:
  - CWE-79
published: '2026-07-31'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:41:31.497'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-56670'
references:
  - url: >-
      https://github.com/Comfy-Org/ComfyUI/commit/96e0e3585b41e1417442eaa14ec57f7b4ffcb5e0
    label: security-advisories@github.com
  - url: 'https://github.com/Comfy-Org/ComfyUI/releases/tag/v0.28.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/Comfy-Org/ComfyUI/security/advisories/GHSA-rj8c-c4p8-3c5h
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00397
epssPercentile: 0.31134
ingestedAt: '2026-09-08T21:11:12.259Z'
---

## Overview

ComfyUI is a modular diffusion model GUI, api and backend with a graph/nodes interface. Prior to 0.28.0, the /view endpoint served uploaded SVG files inline because image/svg+xml and related XML content types were absent from the dangerous-content-type handling, allowing stored cross-site scripting in the ComfyUI origin. This issue is fixed in version 0.28.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
