{"id":"CVE-2024-10099","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-04-10T05:11:40.954755Z","published":"2024-10-17T19:15:21.337Z","references":[{"type":"EVIDENCE","url":"https://huntr.com/bounties/14fb8c9a-692a-4d8c-b4b2-24c6f91a383c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/comfyanonymous/comfyui","events":[{"introduced":"0"},{"last_affected":"0c7c98a965bff25f9398a4b28dfc274bedad9f6c"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"0.2.2"}]}}],"versions":["latest","v0.0.1","v0.0.2","v0.0.4","v0.0.5","v0.0.6","v0.0.7","v0.0.8","v0.1.0","v0.1.1","v0.1.2","v0.1.3","v0.2.0","v0.2.1","v0.2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-10099.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}