Skip to content
MediumVulnerability

CVE-2024-10481: comfyanonymous/comfyui CSRF allows arbitrary API requests via malicious websites

Identifier
CVE-2024-10481
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2024-10481 is a CSRF vulnerability in comfyanonymous/comfyui versions up to v0.2.2. A malicious website visited by an authenticated ComfyUI user can make arbitrary API requests as that user, such as uploading arbitrary files via the `/upload/image` endpoint. The missing CSRF protections on `/upload/image`, `/prompt` and `/history` could also be chained with stored-XSS to compromise user sessions.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.