Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPlant file with crafted name in networks directory
-
ExploitVictim opens Extra Networks card view
-
ExecutionUnsanitized filename rendered by create_item_html
-
ImpactScript executes in victim's webui browser session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an attacker-controlled filename for an Extra Networks card (model/LoRA/embedding/hypernetwork) that the 'Card Builder' path renders via create_item_html, plus a victim who opens that view (UI:P / user interaction). Key limiting factors: stable-diffusion-webui defaults to binding on localhost, so remote reach requires the instance to be deliberately network-exposed (--listen or --share); the attacker must first get a maliciously named file into the scanned networks directory; and impact is limited to script execution in the browser with no confidentiality or availability effect (VI:L only). Authentication is not meaningfully applicable because the application typically has no auth layer (PR:N). |
| Impact | This is a medium-severity (CVSS 4.0 base 5.3) stored/DOM cross-site scripting issue (CWE-79) and, weighing all signals, it reads as a genuine-but-low-priority flaw rather than an urgent one. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N) shows no privileges required but mandatory user interaction (UI:P), no confidentiality or availability impact, and only low integrity impact - consistent with script injection in a UI rather than system compromise. Publicly available exploit code exists (a poc.zip attachment referenced from the GitHub issue), which raises practical risk, but there is no CISA KEV listing and no EPSS score was provided in the input, so there is no evidence of active or widespread exploitation - POC availability and active exploitation are distinct signals and only the former is present here. The report originates solely from VulDB, the vendor has not responded to the issue report, and no patch exists, which caps confidence. The E:P (Proof-of-Concept) exploit-maturity value in the vector agrees with the stated POC status. Crucially, stable-diffusion-webui is overwhelmingly deployed as a single-user application bound to localhost, so 'remotely' is heavily qualified by the need for the instance to be network-exposed (e.g., --listen/--share) and for the attacker to control a card/model filename - these conditions materially lower real-world risk below what 'AV:N' alone suggests. |
| Exploit ScenarioDerived | An attacker crafts a model/LoRA/embedding file whose filename contains HTML/JavaScript markup and gets it placed into the webui's networks directory (e.g., via a shared model pack, download, or an exposed instance). When a user opens the Extra Networks 'Card Builder' view, create_item_html in modules/ui_extra_networks.py renders the filename without sanitization, executing the script in the victim's browser session. A public proof-of-concept (poc.zip) is referenced from the project's GitHub issue, so a working exploit is available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 18, 2026
Cross-site scripting in AUTOMATIC1111 stable-diffusion-webui through 1.10.1 lets an attacker inject script into the Extra Networks 'Card Builder' view by crafting a malicious filename for a model, LoRA, embedding, or hypernetwork card that create_item_html in modules/ui_extra_networks.py renders without proper escaping. Attackers must first place a file with that crafted name into a scanned networks directory; a user then triggers execution simply by opening the affected view, so no credentials are needed (CVSS 4.0 base 5.3, PR:N/UI:P). Publicly available exploit code exists (E:P) and the vendor has not responded to the issue report, but impact is limited to low-integrity script execution in the victim's browser, and the default localhost bind means remote exploitation requires a deliberately network-exposed instance (--listen or --share).
RemediationAI
No vendor-released patch has been identified at time of analysis; the project was notified via https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/17497 but has not responded, and upstream fix availability is not independently confirmed. Until a patched release appears, apply these specific controls: restrict the Extra Networks scan directories to assets you control and audit existing filenames for HTML/script metacharacters (renaming offending files removes the stored payload at the cost of breaking references in saved prompts); do not expose the instance to untrusted networks - keep the default localhost bind and avoid --listen/--share, and if remote access is required place it behind a reverse proxy that enforces authentication and IP allowlisting (trade-off: added operational complexity and loss of convenient sharing); and run the UI in a browser profile isolated from sensitive sessions or in a container to limit the consequence of script execution. Because exploitation requires a crafted file in a scanned directory, tightening filesystem write access to those directories is the highest-leverage mitigation. Monitor https://github.com/AUTOMATIC1111/stable-diffusion-webui/ for a fixed version and re-test after upgrading.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-79 cross-site scripting weakness in stable-diffusion-webui's Extra Networks UI layer. The Extra Networks feature scans configurable directories for model checkpoints, LoRAs, textual inversions/embeddings, and hypernetworks, and builds the browsable card grid in modules/ui_extra_networks.py; the create_item_html function interpolates the discovered file's filename into the generated card markup without adequate HTML encoding. Because filenames on the scanned directories are attacker-influenced in many deployment patterns (shared model folders, downloaded packs, uploaded assets), a name containing script payload results in stored/DOM-style script execution in the browser of any user who views the card grid. The CPE entry (cpe:2.3:a:automatic1111:stable-diffusion-webui:*:*:*:*:*:*:*:*) covers all versions up to and including 1.10.1. The application historically ships without an authentication layer and binds to localhost by default, so the practical exposure surface is a network-exposed Gradio instance; the assessed vector (AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N) reflects scope change from the browser context but only low integrity impact, with no confidentiality or availability effect.
Know when Stable Diffusion Webui gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Unauthenticated (PR:N) but requires the victim to open the card view (UI:R) and an attacker-controlled filename; XSS crosses into the browser context (S:C) with low integrity and no confidentiality/availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability has been found in AUTOMATIC1111 stable-diffusion-webui up to 1.10.1. This affects the function create_item_html of the file modules/ui_extra_networks.py of the component Card Builder. The manipulation of the argument filename leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Stable Diffusion Webui
View allA Cross-Site WebSocket Hijacking (CSWSH) vulnerability in automatic1111/stable-diffusion-webui version 1.10.0 allows an
automatic1111/stable-diffusion-webui version 1.10.0 contains a vulnerability where the server fails to handle excessive
A Denial of Service (DoS) vulnerability was discovered in the file upload feature of automatic1111/stable-diffusion-webu
An open redirect vulnerability in automatic1111/stable-diffusion-webui version 1.10.0 allows a remote unauthenticated at
A stored cross-site scripting (XSS) vulnerability exists in automatic1111/stable-diffusion-webui version git 82a973c. Ra
Credential disclosure in AUTOMATIC1111 Stable Diffusion WebUI through version 1.10.1 exposes configured authentication c
Cross-site scripting in AUTOMATIC1111 stable-diffusion-webui (through version 1.10.1) is triggered when the Extra-Networ
Code injection in AUTOMATIC1111 Stable Diffusion WebUI through 1.10.1 lets remote attackers execute attacker-chosen Pyth
A local file inclusion vulnerability was identified in automatic1111/stable-diffusion-webui, affecting version git 82a97
EUVD-2026-103475
GHSA-39xx-5fr9-wx26
NVD
CVE.org
VulDB
Exploit-DB