CVE-2026-56670 PUBLISHED

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

Assigner: GitHub_M
Reserved: 22.06.2026 Published: 31.07.2026 Updated: 31.07.2026

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.

Metrics

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

Product Status

Vendor Comfy-Org
Product ComfyUI
Versions
  • Version < 0.28.0 is affected

References

Problem Types

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE