Skip to content
HighVulnerability

CVE-2026-56670: ComfyUI stored cross-site scripting through the /view endpoint via SVG files

Identifier
CVE-2026-56670
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

ComfyUI, a modular diffusion model GUI, API and backend with a graph/nodes interface, is affected by CVE-2026-56670 in versions prior to 0.28.0. The /view endpoint served uploaded SVG files inline because image/svg+xml and related XML content types were missing from the dangerous-content-type handling, enabling stored cross-site scripting in the ComfyUI origin.

Mitigation

Fixed in version 0.28.0.