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

Published Mar 20, 2025
·
Updated

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

Affected Software

2 affected components
automatic1111 stable-diffusion-webui
automatic1111 stable-diffusion-webui=1.10.0

Event History

Mar 20, 2025
CVE Published
via MITRE·10:10 AM
Data Sourced
via MITRE·10:10 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-11045?

CVE-2024-11045 is classified as a moderate severity vulnerability due to its potential for exploitation via WebSocket connections.

2

How do I fix CVE-2024-11045?

To fix CVE-2024-11045, ensure that WebSocket connections are properly validated to prevent unauthorized access.

3

What software is affected by CVE-2024-11045?

CVE-2024-11045 affects automatic1111/stable-diffusion-webui version 1.10.0.

4

Can CVE-2024-11045 allow remote code execution?

CVE-2024-11045 does not directly enable remote code execution, but it may facilitate malicious server extensions.

5

What steps can I take to mitigate CVE-2024-11045?

Mitigation for CVE-2024-11045 includes implementing strict input validation and monitoring WebSocket connections for suspicious activity.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203