Skip to main content
EPSS 0.2%top 87%

CVE-2026-56670: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Comfy-Org ComfyUI

0
High
VulnerabilityCVE-2026-56670cvecve-2026-56670cwe-79
Published: 07/31/2026 (07/31/2026, 04:17:43 UTC)
Source: CVE Database V5
Vendor/Project: Comfy-Org
Product: ComfyUI

Description

CVE-2026-56670 is a high-severity cross-site scripting (XSS) vulnerability in Comfy-Org's ComfyUI prior to version 0.28.0. The issue arises because the /view endpoint served uploaded SVG files inline without properly handling dangerous content types like image/svg+xml, allowing stored XSS attacks. This vulnerability has been fixed in ComfyUI version 0.28.0.

CVSS v3.1

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

Affected software

Comfy-Org

ComfyUI

Affected versions
<0.28.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/07/2026, 14:40:38 UTC

Technical Analysis

ComfyUI versions before 0.28.0 improperly neutralize input during web page generation by serving uploaded SVG files inline at the /view endpoint without treating image/svg+xml and related XML content types as dangerous. This flaw allows an attacker to inject stored cross-site scripting payloads into the ComfyUI origin. The vulnerability is tracked as CWE-79 and has a CVSS 3.1 base score of 8.2, indicating high severity. The issue is resolved in version 0.28.0.

Potential Impact

Successful exploitation allows an attacker to execute stored cross-site scripting attacks within the ComfyUI web interface, potentially leading to partial confidentiality compromise (high impact on confidentiality), limited integrity impact, and no impact on availability. This could enable attackers to run arbitrary scripts in the context of the affected user's browser session.

Mitigation Recommendations

Upgrade ComfyUI to version 0.28.0 or later, where the vulnerability has been fixed by properly handling SVG and related XML content types to prevent inline serving that leads to stored XSS. No other mitigation guidance is provided or required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-22T16:39:01.043Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a6c31249c2644c7f8578d56

Added to database: 07/31/2026, 05:22:44 UTC

Last enriched: 08/07/2026, 14:40:38 UTC

Last updated: 09/12/2026, 22:01:35 UTC

Views: 47

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses