Skip to main content

AUTOMATIC1111 stable-diffusion-webui CVE-2026-111984

| EUVDEUVD-2026-103475 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-10-18 VulDB GHSA-39xx-5fr9-wx26
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Plant file with crafted name in networks directory
  2. Exploit
    Victim opens Extra Networks card view
  3. Execution
    Unsanitized filename rendered by create_item_html
  4. Impact
    Script 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

stable-diffusion-webui 1.10.1
stable-diffusion-webui 1.10.0

Affected Packages

euvd stable_diffusion_webui no fix

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 4.7 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Oct 18, 2026 - 12:22 NVD
MEDIUM LOW
CVSS changed
Oct 18, 2026 - 12:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Oct 18, 2026 - 11:45 cve.org
MEDIUM 5.3

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

Prevalence
Medium
very popular open-source AI image tool, but mostly local single-user deployments
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS N/A
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy