# CVE-2024-12374: Stored XSS in automatic1111/stable-diffusion-webui

- Severity: Medium 6.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:08:49.639Z
- Modified: 2026-06-17T06:59:36.117Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

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.

(As written by CVE List.)

## Affected

- automatic1111 automatic1111/stable-diffusion-webui: from unspecified up to latest
- automatic1111 stable-diffusion-webui: 2024-07-27

## Every score

- @huntr_ai: CVSS:3.0 6.1 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://huntr.com/bounties/3dae386a-f442-4be6-87ef-956606c8a6ac> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2024-12374](https://www.cve.org/CVERecord?id=CVE-2024-12374), CVE Terms of Use, modified 2025-03-20
- NVD: [CVE-2024-12374](https://nvd.nist.gov/vuln/detail/CVE-2024-12374), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-12374 · Whole record: https://cve.day/CVE-2024-12374.json · Rebuilt by cve.day 2026-11-25T22:58:52.356Z
