CVE-2024-12374: A stored cross-site scripting (XSS) vulnerability exists in automatic1111/stable-diffusion-webui version git 8
CVE-2024-12374 is a medium-severity flaw (CVSS 6.1) affecting stable-diffusion-webui. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A stored cross-site scripting (XSS) vulnerability exists in automatic1111/stable-diffusion-webui version git 82a973c. An attacker can upload an HTML file, which the application interprets as content-type application/html. If a victim accesses the malicious link, it will execute arbitrary JavaScript in the victim's browser.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 63%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2025-03-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-12374?
stable-diffusion-webui: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-12374 being exploited?
CVE-2024-12374 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-12374 affect?
CVE-2024-12374 affects stable-diffusion-webui. Severity is medium (CVSS 6.1). A stored cross-site scripting (XSS) vulnerability exists in automatic1111/stable-diffusion-webui version git 82a973c. An attacker can upload an HTML file, which the application interprets as content-type application/html. If a victim access
How urgent is CVE-2024-12374?
Priority 36/100. Public exploit reference
Software pages
Related CVEs
- CVE-2024-12375 MEDIUM 6.5 DOWNGRADE A local file inclusion vulnerability was identified in automatic1111/stable-diffusion-webui, affecting version
- CVE-2024-12074 MEDIUM 6.5 DOWNGRADE A Denial of Service (DoS) vulnerability was discovered in the file upload feature of automatic1111/stable-diff
- CVE-2024-11045 CRITICAL 9.6 DOWNGRADE A Cross-Site WebSocket Hijacking (CSWSH) vulnerability in automatic1111/stable-diffusion-webui version 1.10.0
- CVE-2024-11044 MEDIUM 6.1 DOWNGRADE An open redirect vulnerability in automatic1111/stable-diffusion-webui version 1.10.0 allows a remote unauthen
- CVE-2024-10935 HIGH 7.5 DOWNGRADE automatic1111/stable-diffusion-webui version 1.10.0 contains a vulnerability where the server fails to handle