CVE-2024-10481CWE-352

Cross-Site Request Forgery (CSRF) in comfyanonymous/comfyui

Medium · published March 20, 2025

CVSS v3.0
6.5
EPSS
0%
Percentile
12.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
6.5 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00225 · 12.4th percentile
Weakness
CWE-352 · Cross-Site Request Forgery (CSRF)
Published
2025-03-20T10:09Z
EPSS history
Timeline
  • 20 MAR 10:09Z
    Cross-Site Request Forgery (CSRF) in comfyanonymous/comfyui
    cvelistv5