XSS in Comfy Comfyui
CVE-2024-10099
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.004, 31.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Comfy Comfyui — versions 0.2.2
- Comfyanonymous Comfyanonymous/comfyui — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/14fb8c9a-692a-4d8c-b4b2-24c6f91a383c (Exploit, Third Party Advisory)