Stored Cross-Site Scripting Vulnerability in ComfyUI Product by ComfyOrg
CVE-2026-56672

8.2HIGH

Key Information:

Vendor

Comfy-org

Status
Vendor
CVE Published:
31 July 2026

What is CVE-2026-56672?

ComfyUI, a node-based diffusion model GUI and API, has a vulnerability where GET requests to /userdata/{file} can serve user-uploaded HTML and SVG files with dangerous content types. This flaw permits stored cross-site scripting, potentially exposing sensitive data such as API tokens and settings. Victims accessing the affected URLs may inadvertently execute malicious scripts within the same-origin context. This issue was remedied in version 0.28.0, which adds necessary safeguards against improper MIME type handling.

Affected Version(s)

ComfyUI < 0.28.0

References

CVSS V3.1

Score:
8.2
Severity:
HIGH
Confidentiality:
High
Integrity:
Low
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.