# CVE-2024-10099: Stored XSS in comfyanonymous/comfyui

- Severity: Medium 6.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-17T18:14:44.953Z
- Modified: 2026-06-17T06:54:54.573Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- comfyanonymous comfyanonymous/comfyui: from unspecified up to latest
- comfyanonymous comfyanonymous\/comfyui: up to 0.2.2
- comfy comfyui: 0.2.2

## Every score

- @huntr_ai: CVSS:3.0 6.1 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://huntr.com/bounties/14fb8c9a-692a-4d8c-b4b2-24c6f91a383c> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2024-10099](https://www.cve.org/CVERecord?id=CVE-2024-10099), CVE Terms of Use, modified 2024-10-17
- NVD: [CVE-2024-10099](https://nvd.nist.gov/vuln/detail/CVE-2024-10099), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-10099 · Whole record: https://cve.day/CVE-2024-10099.json · Rebuilt by cve.day 2026-11-25T22:58:46.886Z
