{"id":"CVE-2024-10099","aliases":["CVE-2024-10099"],"related":[],"kind":"vulnerability","state":"published","title":"Stored XSS in comfyanonymous/comfyui","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Existe una vulnerabilidad de cross-site scripting (XSS) almacenado en la versión 0.2.2 de comfyanonymous/comfyui y posiblemente en versiones anteriores. La vulnerabilidad se produce cuando un atacante carga un archivo HTML que contiene un payload XSS malicioso a través del punto de conexión `/api/upload/image`. El payload se ejecuta cuando el archivo se visualiza a través del punto de conexión de API `/view`, lo que lleva a la posible ejecución de código JavaScript arbitrario.","source":"nvd"}],"published":"2024-10-17T18:14:44.953Z","modified":"2026-06-17T06:54:54.573Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"comfyanonymous","product":"comfyanonymous/comfyui","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"0.2.2","status":"affected"}],"vendor":"comfyanonymous","product":"comfyanonymous\\/comfyui","cpe":"cpe:2.3:a:comfyanonymous:comfyanonymous\\/comfyui:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","version":"0.2.2"}],"vendor":"comfy","product":"comfyui","cpe":"cpe:2.3:a:comfy:comfyui:0.2.2:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.com/bounties/14fb8c9a-692a-4d8c-b4b2-24c6f91a383c","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-10-17T18:41:30.665Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-10099","url":"https://www.cve.org/CVERecord?id=CVE-2024-10099","licence":"CVE Terms of Use","modified":"2024-10-17T18:47:57.850Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-10099","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10099","licence":"Public domain","modified":"2026-06-17T06:54:54.573Z"}],"updatedAt":"2026-11-25T22:58:46.886Z","epss":{"score":0.00376,"percentile":0.33614,"date":"2026-12-01T12:00:22.000Z"}}