Skip to main content
CVE-2025-6092VulnerabilityPublished

CVE-2025-6092: comfyanonymous comfyui · Cross Site Scripting

Affects comfyanonymous comfyuiSource CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 5.3 Medium.

Data as of 26 Oct 2026, 07:57 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
PyPIcomfyuipkg:pypi/comfyuiOther threatsAffected
  • =0.3.0
  • =0.3.1
  • =0.3.2
  • =0.3.3
  • =0.3.4
  • =0.3.5
  • =0.3.6
  • =0.3.7
  • =0.3.8
  • =0.3.9
  • =0.3.10
  • =0.3.11
  • =0.3.12
  • =0.3.13
  • =0.3.14
  • =0.3.15
  • =0.3.16
  • =0.3.17
  • =0.3.18
  • =0.3.19
  • =0.3.20
  • =0.3.21
  • =0.3.22
  • =0.3.23
  • =0.3.24
  • =0.3.25
  • =0.3.26
  • =0.3.27
  • =0.3.28
  • =0.3.29
  • =0.3.30
  • =0.3.31
  • =0.3.32
  • =0.3.33
  • =0.3.34
  • =0.3.35
  • =0.3.36
  • =0.3.37
  • =0.3.38
  • =0.3.39
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Implement Web Application Firewall (WAF) rules specifically targeting the /upload/image endpoint to detect and block suspicious payloads containing script tags or common XSS vectors. 2. Employ Content Security Policy (CSP) headers to restrict the execution of inline scripts and limit the domains from which scripts can be loaded, mitigating the impact of successful XSS attacks. 3. Sanitize and validate all user inputs on the server side, especially the 'image' parameter, using robust libraries or frameworks that enforce strict input validation and output encoding. 4. Isolate the vulnerable ComfyUI instance behind authentication and restrict access to trusted users only, reducing exposure to unauthenticated attackers. 5. Monitor application logs and network traffic for unusual activity related to the /upload/image endpoint to detect potential exploitation attempts early. 6. If feasible, disable or restrict the image upload functionality temporarily until a vendor patch or official fix is available. 7. Educate users about the risks of clicking on suspicious links or interacting with untrusted content within the ComfyUI environment. 8. Conduct regular security assessments and penetration testing focused on web application vulnerabilities, including XSS, to identify and remediate similar issues proactively. 9. Engage with the vendor or community to encourage timely patch development and share threat intelligence related to this vulnerability.

Description

A vulnerability was found in comfyanonymous comfyui up to 0.3.39. It has been declared as problematic. Affected by this vulnerability is an unknown functionality of the file /upload/image of the component Incomplete Fix CVE-2024-10099. The manipulation of the argument image leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

References

Community reviews

Loading reviews…