CVE-2026-56670 Details
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.
A stored cross-site scripting vulnerability has been identified in ComfyUI versions prior to 0.28.0. The issue arises from the '/view' endpoint, which served uploaded SVG files inline. This vulnerability was caused by the absence of 'image/svg+xml' and related XML content types in the application's dangerous content type handling. As a result, SVG files containing inline scripts were executed in the same-origin context, allowing attackers to exfiltrate sensitive information such as the Comfy API token and issue authenticated API calls.
Users can update to ComfyUI version 0.28.0 or later, where this vulnerability has been fixed. In the patched version, 'image/svg+xml' and other XML dialects are routed through a dangerous content type check and forced to download as 'application/octet-stream', preventing inline execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 31, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Jul 31, 2026 | CVE Modified | CISA-ADP |
| Jul 31, 2026 | New CVE Received | [email protected] |