Skip to content
OpenAdvisories
High · 8.2 CVE-2026-56670 EUVD-2026-51400

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

Published Jul 31, 2026 · Updated Jul 31, 2026 · 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 products

VendorProductAffectedFixed
Comfy-Org ComfyUI < 0.28.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed comfyui 0.33.3-1.1 openSUSE-SU-2026:11562-1

Advisories 2

References