Vulnerability

CVE-2024-10481

mediumCVSS 3.0 6.5Published 20 Mar 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

A CSRF vulnerability exists in comfyanonymous/comfyui versions up to v0.2.2. This vulnerability allows attackers to host malicious websites that, when visited by authenticated ComfyUI users, can perform arbitrary API requests on behalf of the user. This can be exploited to perform actions such as uploading arbitrary files via the `/upload/image` endpoint. The lack of CSRF protections on API endpoints like `/upload/image`, `/prompt`, and `/history` leaves users vulnerable to unauthorized actions, which could be combined with other vulnerabilities such as stored-XSS to further compromise user sessions.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Comfy comfyui

Weakness type

References

  • huntr.com /bounties/f4d5bfb5-6ff1-4356-b81f-f8c01d2e6ded

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning