CVE-2026-56670
JSON

8.2high

ComfyUI: Stored XSS via SVG file upload on the /view endpoint

Severity
8.2high CVSS:3.1 by GitHub_M
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
Comfy-Org ComfyUI< 0.28.0CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

ComfyUI es una GUI modular de modelo de difusión, API y backend con una interfaz de grafo/nodos. Antes de la versión 0.28.0, el endpoint /view servía archivos SVG subidos en línea porque los tipos de contenido image/svg+xml y XML relacionados estaban ausentes del manejo de tipos de contenido peligrosos, lo que permitía cross-site scripting almacenado en el origen de ComfyUI. Este problema está solucionado en la versión 0.28.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-56670 changed 2026-07-31CVE Terms of Use
NVDCVE-2026-56670 changed 2026-10-23Public domain