What’s Vulnerable › Vulnerabilities
CVE-2026-56670: ComfyUI: Stored XSS via SVG file upload on the /view endpoint
- Severity: high (CVSS 8.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-31 · updated 2026-10-23
- Weakness: CWE-79
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
- Comfy-Org ComfyUI: before 0.28.0
References
- https://github.com/Comfy-Org/ComfyUI/commit/96e0e3585b41e1417442eaa14ec57f7b4ffcb5e0
- https://github.com/Comfy-Org/ComfyUI/releases/tag/v0.28.0
- https://github.com/Comfy-Org/ComfyUI/security/advisories/GHSA-rj8c-c4p8-3c5h
Get alerted when CVE-2026-56670 or the next vulnerability affects your stack