# CVE-2026-56670: ComfyUI: Stored XSS via SVG file upload on the /view endpoint

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-07-31T04:17:43.843Z
- Modified: 2026-10-23T23:10:00.157Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- Comfy-Org ComfyUI: < 0.28.0

## References

- <https://github.com/Comfy-Org/ComfyUI/security/advisories/GHSA-rj8c-c4p8-3c5h>
- <https://github.com/Comfy-Org/ComfyUI/commit/96e0e3585b41e1417442eaa14ec57f7b4ffcb5e0>
- <https://github.com/Comfy-Org/ComfyUI/releases/tag/v0.28.0>

## Sources

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

---

Page: https://cve.day/CVE-2026-56670 · Whole record: https://cve.day/CVE-2026-56670.json · Rebuilt by cve.day 2026-11-25T22:59:30.684Z
