Stored XSS in comfyanonymous/comfyui
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| comfyanonymous | comfyanonymous/comfyui | up to latest | — | No fix listed | CNA |
- comfyanonymous/comfyui Vendorcomfyanonymous Affected up to latest Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:comfy:comfyui:0.2.2:*:*:*:*:*:*:* | 0.2.2 | Vulnerable | comfyanonymous |
- cpe:2.3:a:comfy:comfyui:0.2.2:*:*:*:*:*:*:* Versions 0.2.2 Vulnerable ·comfyanonymous
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-10099
- 2026-10-03 Alias added: GHSA-5269-hjm8-7x5f
References
More comfyanonymous Comfyui vulnerabilities
- TI-2024-11938 SSRF in comfyanonymous/comfyui CVSS 3.0HIGH 7.5
- TI-2024-09709 Cross-Site Request Forgery (CSRF) in comfyanonymous/comfyui CVSS 3.0MEDIUM 6.5
Sources
- CVE-2024-10099 · CVE Program
- CVE-2024-10099 · NVD
- FIRST EPSS
- GHSA-5269-hjm8-7x5f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences