{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.2.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0c7c98a965bff25f9398a4b28dfc274bedad9f6c"
            }
          ],
          "repo": "https://github.com/comfyanonymous/comfyui",
          "type": "GIT"
        }
      ]
    }
  ],
  "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.",
  "id": "CVE-2024-10099",
  "modified": "2026-03-10T21:51:03.667457037Z",
  "published": "2024-10-17T19:15:21.337Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://huntr.com/bounties/14fb8c9a-692a-4d8c-b4b2-24c6f91a383c"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}