Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-56670— ComfyUI: Stored XSS via SVG file upload on the /view endpoint

Quick assessment

Affected
Comfy-Org ComfyUI
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ComfyUI 是一个采用图形/节点接口的模块化扩散模型图形用户界面、API 和后端系统。在版本 0.28.0 之前,/view 端点会以内联方式提供上传的 SVG 文件,因为系统在处理危险内容类型时未包含 image/svg+xml 及相关 XML 内容类型,从而导致在 ComfyUI 源域中存在存储型跨站脚本(XSS)漏洞。该问题已在 0.28.0 版本中得到修复。

CVSS 8.2 · High EPSS 0.40% · P32

Possible ATT&CK Techniques 1 AI

T1189 · Drive-by Compromise

Affected Version Matrix 1

VendorProduct Version RangeStatus
Comfy-Org ComfyUI < 0.28.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-56670

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ComfyUI: Stored XSS via SVG file upload on the /view endpoint
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Comfy-Org ComfyUI < 0.28.0 -

II. Public POCs for CVE-2026-56670

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8469 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-56670

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-56670 (1)

Other References for CVE-2026-56670 (1)

Same Patch Batch · Comfy-Org · 2026-07-31 · 5 CVEs total

CVE-2026-68771 9.8 CRITICAL ComfyUI 0.23.0 Unauthenticated RCE via LoadTrainingDataset Pickle Deserialization
CVE-2026-56672 8.2 HIGH ComfyUI: Stored XSS via /userdata/{file} due to Missing Content-Type Sanitization
CVE-2026-56673 7.5 HIGH ComfyUI: Path traversal in LoadImage via the /prompt API allows arbitrary file existence p
CVE-2026-56671 7.5 HIGH ComfyUI: Path traversal in /experiment/models/preview allows arbitrary image file read

IV. Related Vulnerabilities

V. Comments for CVE-2026-56670

No comments yet


Leave a comment