Skip to main content

Comfyui CVE-2026-6593

| EUVDEUVD-2026-23739 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-04-20 VulDB GHSA-643x-95vv-2wf6
2.0
CVSS 4.0 · NVD

Severity by source

NVD PRIMARY
2.0 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
P
Scope
X

Lifecycle Timeline

9
Severity Changed
Apr 29, 2026 - 01:12 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:12 NVD
5.1 (MEDIUM) 2.0 (LOW)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
Severity Changed
Apr 20, 2026 - 02:22 NVD
LOW MEDIUM
CVSS changed
Apr 20, 2026 - 02:22 NVD
3.5 (LOW) 5.1 (MEDIUM)
Analysis Generated
Apr 20, 2026 - 02:04 vuln.today
EUVD ID Assigned
Apr 20, 2026 - 02:00 euvd
EUVD-2026-23739
Analysis Generated
Apr 20, 2026 - 02:00 vuln.today
CVE Published
Apr 20, 2026 - 01:30 nvd
LOW 2.0

DescriptionCVE.org

A vulnerability was found in ComfyUI up to 0.13.0. Affected by this issue is some unknown functionality of the file server.py of the component View Endpoint. Performing a manipulation results in cross site scripting. The attack is possible to be carried out remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.

AnalysisAI

Cross-site scripting (XSS) in ComfyUI up to version 0.13.0 allows authenticated remote attackers to inject malicious scripts through the View Endpoint in server.py, affecting user integrity with publicly available exploit code. The vulnerability requires user interaction (UI:R) and authenticated access (PR:L), limiting its severity despite network accessibility. ComfyUI's vendor has not responded to early disclosure attempts, and the exploit has been published on GitHub, making this a low-CVSS but publicly weaponized vulnerability affecting an AI image generation framework.

Technical ContextAI

ComfyUI is a node-based UI for Stable Diffusion that provides a web-based server interface (server.py). The vulnerability exists in the View Endpoint component, which handles HTTP requests and responses. The root cause is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), indicating insufficient input sanitization or output encoding. The attacker can manipulate parameters or data passed to the View Endpoint, causing unsanitized content to be reflected or stored in the HTML response. When a victim user views the affected page in their browser, the injected JavaScript executes in their security context, potentially allowing session hijacking, credential theft, or actions performed on behalf of the victim user within the ComfyUI application.

RemediationAI

No vendor-released patch has been identified at time of analysis, as ComfyUI's maintainers did not respond to early disclosure. Immediate mitigations include: (1) Upgrade to a version newer than 0.13.0 if available (check the ComfyUI GitHub repository for releases post-disclosure); (2) If upgrade is not possible, restrict network access to the ComfyUI server by placing it behind a reverse proxy or firewall that only allows trusted IP addresses, reducing the attack surface despite the NV:N vector; (3) Implement strict input validation and output encoding in server.py's View Endpoint by escaping or sanitizing all user-supplied input before rendering it in HTML responses (e.g., using HTML entity encoding for user input); (4) Disable or restrict access to the View Endpoint feature if it is non-critical to your workflow; (5) Run ComfyUI in single-user mode or trusted environments only, eliminating the multi-user attack scenario where one user's script could affect another's session. Trade-offs: Network restriction may impact remote access usability; disabling the View Endpoint may limit functionality; patching server.py requires code modification skills and testing. Monitor the ComfyUI GitHub repository and VulDB for vendor updates.

CVE-2024-12882 HIGH POC
7.5 Mar 20

comfyanonymous/comfyui version v0.2.4 suffers from a non-blind Server-Side Request Forgery (SSRF) vulnerability. Rated h

CVE-2024-10099 MEDIUM POC
6.1 Oct 17

A stored cross-site scripting (XSS) vulnerability exists in comfyanonymous/comfyui version 0.2.2 and possibly earlier. R

CVE-2026-68771 CRITICAL
9.3 Jul 31

Remote code execution in ComfyUI v0.23.0 (and all prior 0.x releases) lets unauthenticated attackers run arbitrary Pytho

CVE-2026-56670 HIGH
8.2 Jul 31

Stored cross-site scripting in ComfyUI before 0.28.0 lets an attacker upload a malicious SVG that the /view endpoint ser

CVE-2026-56672 HIGH
8.2 Jul 31

Stored cross-site scripting in ComfyUI (Comfy-Org) before 0.28.0 lets an attacker upload HTML or SVG to the per-user use

CVE-2026-56671 HIGH
7.5 Jul 31

Unauthenticated information disclosure in ComfyUI (comfy-org/comfyui) before 0.28.0 lets remote attackers read arbitrary

CVE-2026-56673 HIGH
7.5 Jul 31

Path traversal arbitrary file read in ComfyUI (comfy-org) before 0.28.0 lets remote unauthenticated attackers probe arbi

CVE-2026-6591 LOW POC
2.1 Apr 20

Path traversal in ComfyUI up to version 0.13.0 allows authenticated remote attackers to read arbitrary files on the serv

CVE-2026-6590 LOW POC
2.1 Apr 20

Path traversal in ComfyUI up to version 0.13.0 allows authenticated remote attackers to read arbitrary files via manipul

CVE-2026-6589 LOW POC
2.1 Apr 20

Cross-site request forgery (CSRF) in ComfyUI up to version 0.13.0 allows unauthenticated remote attackers to modify appl

CVE-2026-6592 LOW POC
2.0 Apr 20

Stored cross-site scripting (XSS) in ComfyUI's userdata endpoint (getuserdata function in app/user_manager.py) allows au

CVE-2024-10481 MEDIUM POC
6.5 Mar 20

A CSRF vulnerability exists in comfyanonymous/comfyui versions up to v0.2.2. Rated medium severity (CVSS 6.5), this vuln

Share

CVE-2026-6593 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy