Comfy-Org ComfyUI
ComfyUI: Stored XSS via SVG file upload on the /view endpoint
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.2high · scored by CNA · CWE-79
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Comfy-Org ComfyUI
- < 0.28.0
Fixed in 0.28.0
Mitigation
Upgrade ComfyUI to 0.28.0 or later.
References
- Vendor advisory github.com/Comfy-Org/ComfyUI/security/advisori…
- Patch github.com/Comfy-Org/ComfyUI/commit/96e0e3585b…
- Release notes github.com/Comfy-Org/ComfyUI/releases/tag/v0.2…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.