CVE-2024-10099

Stored XSS in comfyanonymous/comfyui

Published Oct 17, 2024 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-32903 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00099}

epss

{'score': 0.00111}

Type Values Removed Values Added
First Time appeared Comfy
Comfy comfyui
CPEs cpe:2.3:a:comfy:comfyui:0.2.2:*:*:*:*:*:*:*
Vendors & Products Comfy
Comfy comfyui
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Type Values Removed Values Added
First Time appeared Comfyanonymous
Comfyanonymous comfyanonymous\/comfyui
CPEs cpe:2.3:a:comfyanonymous:comfyanonymous\/comfyui:*:*:*:*:*:*:*:*
Vendors & Products Comfyanonymous
Comfyanonymous comfyanonymous\/comfyui
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Stored XSS in comfyanonymous/comfyui
Weaknesses CWE-79
References
Metrics cvssV3_0

{'score': 6.1, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Oct 17, 2024, 6:47 PM
Reserved
Oct 17, 2024, 5:38 PM
Status
Analyzed
Published
Oct 17, 2024, 7:15 PM
Modified
Jun 17, 2026, 6:54 AM