CVE-2026-56670
Received Received - Intake

Stored XSS in ComfyUI via SVG File Upload

Vulnerability report for CVE-2026-56670, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-31

Last updated on: 2026-07-31

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-31
Last Modified
2026-07-31
Generated
2026-07-31
AI Q&A
2026-07-31
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
comfyui comfyui 0.28.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

ComfyUI is a tool for working with diffusion models. Before version 0.28.0, it had a flaw where uploaded SVG files could be served inline without proper security checks. This allowed attackers to inject malicious scripts into the application, creating a stored cross-site scripting (XSS) vulnerability.

Impact Analysis

This vulnerability could let attackers steal user sessions, perform actions on behalf of users, or deface the ComfyUI interface. Users interacting with compromised SVGs might unknowingly execute malicious scripts in their browsers.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR's integrity and confidentiality principles or HIPAA's safeguards for protected health information. Organizations may face compliance penalties if user data is compromised.

Mitigation Strategies

Update ComfyUI to version 0.28.0 or later to address the stored XSS vulnerability in the /view endpoint for SVG files.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-56670. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart