CVE-2024-11045 Cross-Site WebSocket Hijacking (CSWSH) in automatic1111/stable-diffusion-webui

Critical 9.6 Published Updated

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).

Weakness: CWE-346, CWE-284

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.

Sources

Also known as GHSA-6vmm-pmxf-9784.

Is CVE-2024-11045 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free