CVE-2024-11045 Cross-Site WebSocket Hijacking (CSWSH) in automatic1111/stable-diffusion-webui
Attackers can hijack WebSocket connections to clone malicious extensions, execute scripts, exfiltrate data, or cause denial of service in Stable Diffusion WebUI.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-11045?
CVE-2024-11045 is a critical vulnerability in automatic1111/stable-diffusion-webui, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A Cross-Site WebSocket Hijacking (CSWSH) vulnerability in automatic1111/stable-diffusion-webui version 1.10.0 allows an attacker to clone a malicious server extension from a GitHub repository. The vulnerability arises from the lack of proper validation on WebSocket connections at ws://127.0.0.1:7860/queue/join, enabling unauthorized actions on the server. This can lead to unauthorized cloning of server extensions, execution of malicious scripts, data exfiltration, and potential denial of service (DoS).
Which versions are affected by CVE-2024-11045?
It affects 1 product.
Products include Automatic1111 Stable-Diffusion-Webui.
How do I fix CVE-2024-11045?
No fix has been published for CVE-2024-11045 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-11045 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-11045 exists.
Other vulnerabilities in automatic1111/stable-diffusion-webui
- CVE-2024-10935 Unauthenticated DoS via Multipart Boundary in automatic1111/stable-diffusion-webui
- CVE-2024-12074 Denial of Service in automatic1111/stable-diffusion-webui
- CVE-2024-12375 Local File Inclusion in automatic1111/stable-diffusion-webui
- CVE-2024-11044 Open Redirect in automatic1111/stable-diffusion-webui
- CVE-2024-12374 Stored XSS in automatic1111/stable-diffusion-webui
Sources
Also known as GHSA-6vmm-pmxf-9784.