{"id":"CVE-2024-10099","summary":"Stored XSS in comfyanonymous/comfyui","details":"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.","modified":"2026-08-27T03:58:24.819676198Z","published":"2024-10-17T18:14:44.953Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10099.json","cna_assigner":"@huntr_ai","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://huntr.com/bounties/14fb8c9a-692a-4d8c-b4b2-24c6f91a383c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10099.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10099"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/Comfy-Org/ComfyUI","events":[{"introduced":"0c7c98a965bff25f9398a4b28dfc274bedad9f6c"},{"last_affected":"0c7c98a965bff25f9398a4b28dfc274bedad9f6c"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:comfy:comfyui:0.2.2:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.2.2"},{"last_affected":"0.2.2"}]}}],"versions":["0.2.2","v0.2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-10099.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}