{
  "id": "CVE-2026-56670",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-56670",
  "published_at": "2026-07-31T04:17:43.843Z",
  "title": "ComfyUI: Stored XSS via SVG file upload on the /view endpoint",
  "vendor": "Comfy-Org",
  "product": "ComfyUI",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "ComfyUI is a modular diffusion model GUI, api and backend with a graph/nodes interface. Prior to 0.28.0, the /view endpoint served uploaded SVG files inline because image/svg+xml and related XML content types were absent from the dangerous-content-type handling, allowing stored cross-site scripting in the ComfyUI origin. This issue is fixed in version 0.28.0.",
  "cwe": "CWE-79",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Comfy-Org",
        "product": "ComfyUI",
        "ranges": [
          "\u003c 0.28.0"
        ],
        "fixed_in": [
          "0.28.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ComfyUI to 0.28.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Comfy-Org/ComfyUI/security/advisories/GHSA-rj8c-c4p8-3c5h"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Comfy-Org/ComfyUI/commit/96e0e3585b41e1417442eaa14ec57f7b4ffcb5e0"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/Comfy-Org/ComfyUI/releases/tag/v0.28.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
