CVE-2024-10481
MEDIUMcomfy/comfyui < 0.2.2 - Cross-Site Request Forgery via Unprotected API Endpoints
Title source: llmDescription
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.
References (1)
Core 1
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/f4d5bfb5-6ff1-4356-b81f-f8c01d2e6ded
Scores
CVSS v3
6.5
EPSS
0.0021
EPSS Percentile
10.9%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-352
Status
published
Products (1)
comfy/comfyui
< 0.2.2
Published
Mar 20, 2025
Tracked Since
Feb 18, 2026