CVE-2026-6593 ComfyUI View Endpoint server.py cross site scripting
Remote attackers can execute arbitrary scripts in ComfyUI via the View Endpoint, potentially compromising user sessions or data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-6593?
CVE-2026-6593 is a medium-severity cross-site scripting vulnerability in ComfyUI, published on 20 Apr 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
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.
Which versions are affected by CVE-2026-6593?
How do I fix CVE-2026-6593?
No fix has been published for CVE-2026-6593 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-6593 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-6593 exists.
Sources
Also known as GHSA-643x-95vv-2wf6.