CVE-2024-10099: Comfy Comfyui

Medium severity, CVSS 6.1. EPSS: 0.4% chance of exploitation in the next 30 days.

A stored cross-site scripting (XSS) vulnerability exists in comfyanonymous/comfyui version 0.2.2 and possibly earlier. The vulnerability occurs when an attacker uploads an HTML file containing a malicious XSS payload via the `/api/upload/image` endpoint. The payload is executed when the file is viewed through the `/view` API endpoint, leading to potential execution of arbitrary JavaScript code.

Affected products

  • Comfy Comfyui: version 0.2.2 only

Published 2024-10-17. Last modified 2026-06-17.